Skip to content
Snippets Groups Projects
Commit 30ac0525 authored by John Kessenich's avatar John Kessenich Committed by GitHub
Browse files

Merge pull request #1055 from KhronosGroup/strdup

Build: Fix strdup -> _strdup warnings.
parents b3ca4045 d9bd97d0
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment