Commit 73a845a3 authored by nullable.type's avatar nullable.type

Suppress warning C4204 (non-constant aggregate initializer) issued by Visual...

Suppress warning C4204 (non-constant aggregate initializer) issued by Visual Studio 2012 due to missing C99 support.
parent 6eec552e
...@@ -29,6 +29,10 @@ ...@@ -29,6 +29,10 @@
#define __STDC_LIMIT_MACROS // C++ wants that for INT64_MAX #define __STDC_LIMIT_MACROS // C++ wants that for INT64_MAX
#endif #endif
#if defined (_MSC_VER)
#pragma warning (disable : 4204) // non-constant aggregate initializer: issued due to missing C99 support
#endif
// Disable WIN32_LEAN_AND_MEAN. // Disable WIN32_LEAN_AND_MEAN.
// This makes windows.h always include winsock2.h // This makes windows.h always include winsock2.h
#ifdef WIN32_LEAN_AND_MEAN #ifdef WIN32_LEAN_AND_MEAN
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment