Merge pull request #1055 from KhronosGroup/strdup

Build: Fix strdup -> _strdup warnings.
This commit is contained in:
John Kessenich 2017-09-11 22:04:59 -06:00 committed by GitHub
commit 30ac052574

View File

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