comments + Windows numeric types not used if LUA_ANSI is defined

This commit is contained in:
Roberto Ierusalimschy 2014-10-27 16:06:03 -02:00
parent aa1bd8876c
commit 41d0e66184
1 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/* /*
** $Id: luaconf.h,v 1.221 2014/10/24 11:42:47 roberto Exp roberto $ ** $Id: luaconf.h,v 1.222 2014/10/27 16:59:31 roberto Exp roberto $
** Configuration file for Lua ** Configuration file for Lua
** See Copyright Notice in lua.h ** See Copyright Notice in lua.h
*/ */
@ -23,10 +23,11 @@
@@ LUA_REAL_FLOAT / LUA_REAL_DOUBLE / LUA_REAL_LONGDOUBLE defines @@ LUA_REAL_FLOAT / LUA_REAL_DOUBLE / LUA_REAL_LONGDOUBLE defines
@@ type for Lua floats. You must define one of them. @@ type for Lua floats. You must define one of them.
** **
** These definitions set the numeric types for Lua. Lua should work fine ** These definitions set the numeric types for Lua. Lua should work
** with any mix of these previous options. The usual configurations ** fine with any mix of these previous options (if supported by your
** are 64-bit integers and floats (the default) and 32-bit integers and ** C compiler). The usual configurations are 64-bit integers and
** floats (Small Lua, for restricted platforms). ** 'double' (the default) and 32-bit integers and 'float' (Small Lua,
** for restricted platforms).
** **
** Note that C compilers not compliant with C99 may not have ** Note that C compilers not compliant with C99 may not have
** support for 'long long'. In that case, you should not use option ** support for 'long long'. In that case, you should not use option
@ -659,7 +660,7 @@
#elif defined(LUA_INT_LONGLONG) /* }{ long long */ #elif defined(LUA_INT_LONGLONG) /* }{ long long */
#if defined(_WIN32) #if defined(LUA_WIN)
#define LUA_INTEGER __int64 #define LUA_INTEGER __int64
#define LUA_INTEGER_FRMLEN "I64" #define LUA_INTEGER_FRMLEN "I64"