]> git.sesse.net Git - vlc/blobdiff - modules/demux/live555.cpp
Make sure INT64_C is defined correctly, and that we don't conflict with config.h.
[vlc] / modules / demux / live555.cpp
index ffed8fe809a7824148c697fb5b0fefc646c69a4c..da9e56daef0097abf049eee7afcf936550a4f871 100644 (file)
  * Preamble
  *****************************************************************************/
 
+/* For inttypes.h
+ * Note: config.h may include inttypes.h, so make sure we define this option
+ * early enough. */
+#define __STDC_CONSTANT_MACROS 1
+
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
 
-#define __STDC_CONSTANT_MACROS 1
 #include <inttypes.h>
 
 #include <vlc/vlc.h>