aboutsummaryrefslogtreecommitdiff
path: root/src/lfs.h
diff options
context:
space:
mode:
authortomas <tomas>2004-07-29 14:26:33 +0000
committertomas <tomas>2004-07-29 14:26:33 +0000
commit70052678b19e026a8db3ecb58824d6aa770ea589 (patch)
treeb68dfb62ee1eaf1b788ade7ba91a551118f5834c /src/lfs.h
parent8addf14a396466982f62503a6dfa5793a53b1b8e (diff)
downloadluafilesystem-70052678b19e026a8db3ecb58824d6aa770ea589.tar.gz
luafilesystem-70052678b19e026a8db3ecb58824d6aa770ea589.tar.bz2
luafilesystem-70052678b19e026a8db3ecb58824d6aa770ea589.zip
Substituicao nos nomes dos arquivos.
Diffstat (limited to 'src/lfs.h')
-rw-r--r--src/lfs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lfs.h b/src/lfs.h
new file mode 100644
index 0000000..67871f2
--- /dev/null
+++ b/src/lfs.h
@@ -0,0 +1,10 @@
1/* Define 'chdir' for systems that do not implement it */
2/* $Id: lfs.h,v 1.1 2004/07/29 14:26:33 tomas Exp $ */
3#ifdef NO_CHDIR
4#define chdir(p) (-1)
5#define chdir_error "Function 'chdir' not provided by system"
6#else
7#define chdir_error strerror(errno)
8#endif
9
10int luaopen_lfs (lua_State *L);