Fix CentOS 6 build failure
CentOS 6 requires __STDC_LIMIT_MACROS to be defined before <stdint.h> is included to expose INT32_MAX and others.
This commit is contained in:
parent
b8d3da4968
commit
57b0f69ca2
@ -47,6 +47,13 @@
|
||||
# define __STDC_FORMAT_MACROS
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Needs to be defined for INT32_MAX and others
|
||||
*/
|
||||
#ifndef __STDC_LIMIT_MACROS
|
||||
#define __STDC_LIMIT_MACROS
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Define intended for use with strerror.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user