Build: Fix strdup -> _strdup warnings.
This commit is contained in:
parent
b3ca4045c5
commit
d9bd97d054
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue