Fix compile errors in Centos 6

Fix compile errors in Centos 6
This commit is contained in:
MassimilianoPinto
2017-03-27 09:49:21 +02:00
parent 710012ac5d
commit 8e24f847e6
5 changed files with 20 additions and 5 deletions

View File

@ -39,6 +39,14 @@
#undef OPENSSL_THREAD_DEFINES
#define OPENSSL_THREAD_DEFINES 1
/**
* Fix compile errors for PRId64
* in Centos 6
*/
#ifndef __STDC_FORMAT_MACROS
# define __STDC_FORMAT_MACROS
#endif
/**
* Define intended for use with strerror.
*