aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortomas <tomas>2006-06-08 16:16:23 +0000
committertomas <tomas>2006-06-08 16:16:23 +0000
commit59ef09d270fbcc74b45bfc617dbdba45783169d8 (patch)
tree3dfd543cb1efbf58098a2355ff03e08e834ba15e /src
parentac0de9a462e1de1869af20ddba99ed453ae0c319 (diff)
downloadluafilesystem-59ef09d270fbcc74b45bfc617dbdba45783169d8.tar.gz
luafilesystem-59ef09d270fbcc74b45bfc617dbdba45783169d8.tar.bz2
luafilesystem-59ef09d270fbcc74b45bfc617dbdba45783169d8.zip
Adding support for compilation on both Lua 5.0 and Lua 5.1
Diffstat (limited to 'src')
-rw-r--r--src/lfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lfs.c b/src/lfs.c
index 7c8f62a..068fd7f 100644
--- a/src/lfs.c
+++ b/src/lfs.c
@@ -14,7 +14,7 @@
14** lfs.touch (filepath [, atime [, mtime]]) 14** lfs.touch (filepath [, atime [, mtime]])
15** lfs.unlock (fh) 15** lfs.unlock (fh)
16** 16**
17** $Id: lfs.c,v 1.32 2006/03/14 13:39:38 tomas Exp $ 17** $Id: lfs.c,v 1.33 2006/06/08 16:16:23 tomas Exp $
18*/ 18*/
19 19
20#include <errno.h> 20#include <errno.h>
@@ -39,7 +39,9 @@
39#include "lua.h" 39#include "lua.h"
40#include "lauxlib.h" 40#include "lauxlib.h"
41#include "lualib.h" 41#include "lualib.h"
42#if ! defined (LUA_VERSION_NUM) || LUA_VERSION_NUM < 501
42#include "compat-5.1.h" 43#include "compat-5.1.h"
44#endif
43 45
44#include "lfs.h" 46#include "lfs.h"
45 47