Use __MINGW32__ instead of __MINGW__.

Change-Id: I9e55bf932720835a2ba7f32d536b73c4ed04dbe2
This commit is contained in:
Stephen Hines
2014-12-03 21:25:12 -08:00
parent af97e6d316
commit a3b5c78df4

View File

@@ -644,7 +644,7 @@ template <unsigned> struct __static_assert_check {};
#define _LIBCPP_ELAST __ELASTERROR #define _LIBCPP_ELAST __ELASTERROR
#elif defined(__APPLE__) #elif defined(__APPLE__)
// Not _LIBCPP_ELAST needed on Apple // Not _LIBCPP_ELAST needed on Apple
#elif defined(__MINGW__) #elif defined(__MINGW32__)
#define _LIBCPP_ELAST EWOULDBLOCK #define _LIBCPP_ELAST EWOULDBLOCK
#else #else
// Warn here so that the person doing the libcxx port has an easier time: // Warn here so that the person doing the libcxx port has an easier time: