aboutsummaryrefslogtreecommitdiff
path: root/src/lfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lfs.h')
-rw-r--r--src/lfs.h33
1 files changed, 17 insertions, 16 deletions
diff --git a/src/lfs.h b/src/lfs.h
index 05a9571..4b52780 100644
--- a/src/lfs.h
+++ b/src/lfs.h
@@ -1,16 +1,17 @@
1/* 1/*
2** LuaFileSystem 2** LuaFileSystem
3** Copyright Kepler Project 2003 (http://www.keplerproject.org/luafilesystem) 3** Copyright Kepler Project 2003 (http://www.keplerproject.org/luafilesystem)
4** 4**
5** $Id: lfs.h,v 1.4 2008/02/11 22:42:21 carregal Exp $ 5** $Id: lfs.h,v 1.5 2008/02/19 20:08:23 mascarenhas Exp $
6*/ 6*/
7 7
8/* Define 'chdir' for systems that do not implement it */ 8/* Define 'chdir' for systems that do not implement it */
9#ifdef NO_CHDIR 9#ifdef NO_CHDIR
10#define chdir(p) (-1) 10#define chdir(p) (-1)
11#define chdir_error "Function 'chdir' not provided by system" 11#define chdir_error "Function 'chdir' not provided by system"
12#else 12#else
13#define chdir_error strerror(errno) 13#define chdir_error strerror(errno)
14#endif 14#endif
15 15
16int luaopen_lfs (lua_State *L); 16
17int luaopen_lfs (lua_State *L);