Issue #568: fix the strtoll and strtoull handing so config.h ends up creating defines for those only when needed, which should exclude mingw environments.

This commit is contained in:
Eric Haszlakiewicz
2020-04-09 20:58:28 +00:00
parent b64bdfe381
commit 545464322b
3 changed files with 28 additions and 29 deletions

View File

@@ -39,11 +39,6 @@
#endif /* HAVE_UNISTD_H */
#ifdef WIN32
#if MSC_VER < 1800
/* strtoll/strtoull is available only since Visual Studio 2013 */
#define strtoll _strtoi64
#define strtoull _strtoui64
#endif
#define WIN32_LEAN_AND_MEAN
#include <io.h>
#include <windows.h>