[vlc-devel] [PATCH 1/6] OS/2 needs __STDC_xxx_MACROS even if C++11 mode
KO Myung-Hun
komh78 at gmail.com
Mon Jul 6 10:03:20 CEST 2015
---
include/vlc_fixups.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 0a7b2aa..b3e1577 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -28,7 +28,8 @@
/* C++11 says there's no need to define __STDC_*_MACROS when including
* inttypes.h and stdint.h. */
-#if defined (__cplusplus) && (!defined(HAVE_CXX11) || defined(__MINGW32__))
+#if defined (__cplusplus) && \
+ (!defined(HAVE_CXX11) || defined(__MINGW32__) || defined(__OS2__))
# ifndef __STDC_FORMAT_MACROS
# define __STDC_FORMAT_MACROS 1
# endif
--
1.9.5
More information about the vlc-devel
mailing list