mirror of
https://github.com/json-c/json-c.git
synced 2026-03-30 18:39:07 +08:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user