Commit d9bd97d0 by John Kessenich

Build: Fix strdup -> _strdup warnings.

parent b3ca4045
...@@ -78,6 +78,10 @@ inline long long int atoll (const char* str) ...@@ -78,6 +78,10 @@ inline long long int atoll (const char* str)
} }
#endif #endif
#if defined(_MSC_VER)
#define strdup _strdup
#endif
/* windows only pragma */ /* windows only pragma */
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning(disable : 4786) // Don't warn about too long identifiers #pragma warning(disable : 4786) // Don't warn about too long identifiers
......
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