aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
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