Skip to content

Commit d99e553

Browse files
authored
Revert "Use long long as Lua integer formatting type" (#1691)
This reverts commit e30f2ec.
1 parent 23a4957 commit d99e553

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

vendor/lua/src/luaconf.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,9 +747,19 @@ union luai_Cast { double l_d; long l_l; };
747747
** CHANGE them if your system supports long long or does not support long.
748748
*/
749749

750+
#if defined(LUA_USELONGLONG)
751+
750752
#define LUA_INTFRMLEN "ll"
751753
#define LUA_INTFRM_T long long
752754

755+
#else
756+
757+
#define LUA_INTFRMLEN "l"
758+
#define LUA_INTFRM_T long
759+
760+
#endif
761+
762+
753763

754764
/* =================================================================== */
755765

0 commit comments

Comments
 (0)