Skip to content

Commit

Permalink
Mingw and mingw-w64 has broken C++11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkempf committed Jun 18, 2015
1 parent fdbcce7 commit 4f70ea7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions include/vlc_fixups.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@

/* C++11 says there's no need to define __STDC_*_MACROS when including
* inttypes.h and stdint.h. */
#if defined (__cplusplus) && !defined(HAVE_CXX11)
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS 1
#endif
#ifndef __STDC_CONSTANT_MACROS
#define __STDC_CONSTANT_MACROS 1
#endif
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS 1
#endif
#if defined (__cplusplus) && (!defined(HAVE_CXX11) || defined(__MINGW32__))
# ifndef __STDC_FORMAT_MACROS
# define __STDC_FORMAT_MACROS 1
# endif
# ifndef __STDC_CONSTANT_MACROS
# define __STDC_CONSTANT_MACROS 1
# endif
# ifndef __STDC_LIMIT_MACROS
# define __STDC_LIMIT_MACROS 1
# endif
#endif

#if !defined (HAVE_GMTIME_R) || !defined (HAVE_LOCALTIME_R)
Expand Down

0 comments on commit 4f70ea7

Please sign in to comment.