Build: Fix strdup -> _strdup warnings.

This commit is contained in:
John Kessenich 2017-09-11 21:27:23 -06:00
parent b3ca4045c5
commit d9bd97d054

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