]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/common.h
Merge commit '4a4841d4e0f0dc50998511bf6c48b518012024db'
[ffmpeg] / libavutil / common.h
index b1203ad5a25e3c9467550b078ce13bf3cddee516..e487218e729b3271f6b1e4e64b3f1efd3785751f 100644 (file)
 #ifndef AVUTIL_COMMON_H
 #define AVUTIL_COMMON_H
 
+#if defined(__cplusplus) && !defined(__STDC_CONSTANT_MACROS) && !defined(UINT64_C)
+#error missing -D__STDC_CONSTANT_MACROS / #define __STDC_CONSTANT_MACROS
+#endif
+
 #include <errno.h>
 #include <inttypes.h>
 #include <limits.h>