aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/util/lua/loslib.cpp
diff options
context:
space:
mode:
authorMax Horn2011-05-23 18:59:37 +0200
committerMax Horn2011-05-23 19:12:25 +0200
commite6c78b4f469729726561af44aa1df8259f0fdf27 (patch)
treeb8444895c21f551c1373e1ea1aefb7b075a10018 /engines/sword25/util/lua/loslib.cpp
parent8e3aafd30d14bcd586cc06a525e2dc2a8298c7b2 (diff)
downloadscummvm-rg350-e6c78b4f469729726561af44aa1df8259f0fdf27.tar.gz
scummvm-rg350-e6c78b4f469729726561af44aa1df8259f0fdf27.tar.bz2
scummvm-rg350-e6c78b4f469729726561af44aa1df8259f0fdf27.zip
SWORD25: Include scummsys.h from lua.h, partially deal with the consequences
This should help mark the spots that are still non-portable, just follow the FIXMEs.
Diffstat (limited to 'engines/sword25/util/lua/loslib.cpp')
-rw-r--r--engines/sword25/util/lua/loslib.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/util/lua/loslib.cpp b/engines/sword25/util/lua/loslib.cpp
index ac634db558..c46aea59bd 100644
--- a/engines/sword25/util/lua/loslib.cpp
+++ b/engines/sword25/util/lua/loslib.cpp
@@ -4,6 +4,9 @@
** See Copyright Notice in lua.h
*/
+// FIXME: Get rid of all time.h stuff
+#define FORBIDDEN_SYMBOL_EXCEPTION_time_h
+
#include <time.h>
#define loslib_c
@@ -14,9 +17,6 @@
#include "lauxlib.h"
#include "lualib.h"
-// FIXME: Get rid of all time.h stuff
-#define FORBIDDEN_SYMBOL_EXCEPTION_time_h
-
#include "common/system.h"