grafX2/3rdparty/lua-atari-inttype.patch
Thomas Bernard 5d12292b43
3rdparty: Fix Atari build
- Lua
- Zlib
- SDL-1.2 atari timer patch
2019-02-09 12:16:02 +01:00

12 lines
450 B
Diff

--- lua-5.3.5/src/luaconf.h.orig 2019-02-09 04:47:51.683095000 +0100
+++ lua-5.3.5/src/luaconf.h 2019-02-09 04:48:29.946857000 +0100
@@ -77,7 +77,7 @@
** C89 ('long' and 'double'); Windows always has '__int64', so it does
** not need to use this case.
*/
-#if defined(LUA_USE_C89) && !defined(LUA_USE_WINDOWS)
+#if (defined(LUA_USE_C89) && !defined(LUA_USE_WINDOWS)) || defined(__atarist__) || defined(__MINT__)
#define LUA_C89_NUMBERS
#endif