diff options
Diffstat (limited to 'Build/source/libs/luafilesystem/src/lfs.h')
-rw-r--r-- | Build/source/libs/luafilesystem/src/lfs.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Build/source/libs/luafilesystem/src/lfs.h b/Build/source/libs/luafilesystem/src/lfs.h new file mode 100644 index 00000000000..62ae79fa96c --- /dev/null +++ b/Build/source/libs/luafilesystem/src/lfs.h @@ -0,0 +1,16 @@ +/* +** LuaFileSystem +** Copyright Kepler Project 2004-2006 (http://www.keplerproject.org/luafilesystem) +** +** $Id: lfs.h,v 1.3 2006/03/10 23:37:32 carregal Exp $ +*/ + +/* Define 'chdir' for systems that do not implement it */ +#ifdef NO_CHDIR +#define chdir(p) (-1) +#define chdir_error "Function 'chdir' not provided by system" +#else +#define chdir_error strerror(errno) +#endif + +int luaopen_lfs (lua_State *L); |