Skip to content
Snippets Groups Projects
Commit d9bd97d0 authored by John Kessenich's avatar John Kessenich
Browse files

Build: Fix strdup -> _strdup warnings.

parent b3ca4045
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)
}
#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
......
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