diff options
Diffstat (limited to 'src/lua_int64.h')
-rw-r--r-- | src/lua_int64.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lua_int64.h b/src/lua_int64.h index fa26cfa..d6f84dd 100644 --- a/src/lua_int64.h +++ b/src/lua_int64.h @@ -15,6 +15,10 @@ INT64 lua_checkINT64(lua_State *L, int i); int atoUINT64(const char* s, UINT64 * pv);
int atoINT64(const char* s, INT64 *pv);
+#ifndef MINGW_HAS_SECURE_API
+#define _ui64toa_s(val, buf, sz, radix) !_ui64toa(val, buf, radix)
+#endif
+
#ifdef __GNUC__
#define CONST_9007199254740992 0x20000000000000LL
#else
|