vpx_integer.h: define __STDC_LIMIT_MACROS
fixes --enable-coefficient-range-checking --enable-debug vp9_idct.h has references to INT16_MIN/MAX; this header is included in c++ source so needs to request the macros Change-Id: I2e643eb973c2d84729fa3cf2f4c4d8bf65cfdff0
This commit is contained in:
Родитель
4a296e6baa
Коммит
c87f32c7fd
|
@ -49,9 +49,15 @@ typedef size_t uintptr_t;
|
||||||
|
|
||||||
/* Most platforms have the C99 standard integer types. */
|
/* Most platforms have the C99 standard integer types. */
|
||||||
|
|
||||||
#if defined(__cplusplus) && !defined(__STDC_FORMAT_MACROS)
|
#if defined(__cplusplus)
|
||||||
#define __STDC_FORMAT_MACROS
|
# if !defined(__STDC_FORMAT_MACROS)
|
||||||
#endif
|
# define __STDC_FORMAT_MACROS
|
||||||
|
# endif
|
||||||
|
# if !defined(__STDC_LIMIT_MACROS)
|
||||||
|
# define __STDC_LIMIT_MACROS
|
||||||
|
# endif
|
||||||
|
#endif // __cplusplus
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче