[vlc-commits] Dash: __STDC_CONSTANT_MACROS must be before config.h

Jean-Baptiste Kempf git at videolan.org
Fri Feb 21 18:17:18 CET 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Feb 21 18:16:10 2014 +0100| [62fd9456a7054eabbc1c15de2a240c0ca4a72f6f] | committer: Jean-Baptiste Kempf

Dash: __STDC_CONSTANT_MACROS must be before config.h

config.h includes vlc_fixup.h that can include stdint.h

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=62fd9456a7054eabbc1c15de2a240c0ca4a72f6f
---

 modules/stream_filter/dash/dash.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/stream_filter/dash/dash.cpp b/modules/stream_filter/dash/dash.cpp
index bd0bc31..15b537d 100644
--- a/modules/stream_filter/dash/dash.cpp
+++ b/modules/stream_filter/dash/dash.cpp
@@ -25,11 +25,12 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
+#define __STDC_CONSTANT_MACROS 1
+
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
 
-#define __STDC_CONSTANT_MACROS 1
 #include <stdint.h>
 
 #include <vlc_common.h>



More information about the vlc-commits mailing list