Merge pull request #1055 from KhronosGroup/strdup
Build: Fix strdup -> _strdup warnings.
This commit is contained in:
commit
30ac052574
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user