Skip to content

Commit 46c7c4b

Browse files
authored
Revert "Use long long as Lua integer formatting type" (#1691)
This reverts commit e30f2ec6121c71408ab5efba3d1a1239ea75253e.
1 parent 92bba5d commit 46c7c4b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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)