Define __STDC_CONSTANT_MACROS in case C libraries like ffmpeg don't

This commit is contained in:
rdb 2010-05-18 12:57:58 +00:00
parent 385f6e5920
commit 2ec0617d32

View File

@ -165,6 +165,9 @@
#endif
#ifdef PHAVE_STDINT_H
#if defined(__cplusplus) && !defined(__STDC_LIMIT_MACROS)
#define __STDC_LIMIT_MACROS 1
#endif
#include <stdint.h>
#endif