Browse Source

vlc_fixups: don't force __STDC_*_MACROS on mingw-w64

__STDC_FORMAT_MACROS has no effect
__STDC_CONSTANT_MACROS and __STDC_LIMIT_MACROS are already set when
compiling for C++11 since mingw-w64 4.0.1
pull/162/head
Steve Lhomme 3 years ago
parent
commit
ea197ba0dd
  1. 2
      include/vlc_fixups.h

2
include/vlc_fixups.h

@ -108,7 +108,7 @@ typedef unsigned short mode_t;
/* C++11 says there's no need to define __STDC_*_MACROS when including
* inttypes.h and stdint.h. */
#if defined (__cplusplus) && (defined(__MINGW32__) || defined(__UCLIBC__))
#if defined (__cplusplus) && defined(__UCLIBC__)
# ifndef __STDC_FORMAT_MACROS
# define __STDC_FORMAT_MACROS 1
# endif

Loading…
Cancel
Save