aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
authorBenoit Germain <bnt period germain arrobase gmail period com>2014-04-23 11:35:32 +0200
committerBenoit Germain <bnt period germain arrobase gmail period com>2014-04-23 11:35:32 +0200
commitb80ff4be9bdbaa6c0c61621aa5aed30715b9109e (patch)
tree6753f930260b06072ee5fac9d8b1f8d18258d340 /src/compat.h
parentd8cfb248939a9b6e1cbc9bb4c05b216daf9a0e3a (diff)
downloadlanes-b80ff4be9bdbaa6c0c61621aa5aed30715b9109e.tar.gz
lanes-b80ff4be9bdbaa6c0c61621aa5aed30715b9109e.tar.bz2
lanes-b80ff4be9bdbaa6c0c61621aa5aed30715b9109e.zip
Fix build issues with compat.c/h
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h
index a5801c4..496986b 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -1,6 +1,10 @@
1#if !defined( __COMPAT_H__) 1#if !defined( __COMPAT_H__)
2#define __COMPAT_H__ 1 2#define __COMPAT_H__ 1
3 3
4#include "lua.h"
5#include "lualib.h"
6#include "lauxlib.h"
7
4// code is now using Lua 5.2 API 8// code is now using Lua 5.2 API
5// add Lua 5.2 API when building for Lua 5.1 9// add Lua 5.2 API when building for Lua 5.1
6#if LUA_VERSION_NUM == 501 10#if LUA_VERSION_NUM == 501