mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-25 20:28:27 +00:00
fixed strtoll() for win32: using _atoi64
This commit is contained in:
1 parent
5fb9aca2e1
commit
bc40aa5442
2 files changed
+10
-2
No files matched your search
+2
-2
@@ -104,8 +104,8 @@ typedef long off_t;
|
||||
#define STRX(x) #x
|
||||
#define STR(x) STRX(x)
|
||||
#define __func__ __FILE__ ":" STR(__LINE__)
|
||||
#define strtoull(x, y, z) strtoul(x, y, z)
|
||||
#define strtoll(x, y, z) strtol(x, y, z)
|
||||
#define strtoull(x, y, z) (unsigned __int64) _atoi64(x)
|
||||
#define strtoll(x, y, z) _atoi64(x)
|
||||
#else
|
||||
#define __func__ __FUNCTION__
|
||||
#define strtoull(x, y, z) _strtoui64(x, y, z)
|
||||
|
||||
Reference in new issue
Block a user