3rdparty: Fix Atari build

- Lua
- Zlib
- SDL-1.2 atari timer patch
This commit is contained in:
Thomas Bernard
2019-02-09 04:59:36 +01:00
parent 96c6ce2221
commit 5d12292b43
3 changed files with 29 additions and 2 deletions

11
3rdparty/lua-atari-inttype.patch vendored Normal file
View File

@@ -0,0 +1,11 @@
--- 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