diff options
Diffstat (limited to 'src/lfs.h')
| -rw-r--r-- | src/lfs.h | 32 |
1 files changed, 16 insertions, 16 deletions
| @@ -1,16 +1,16 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** LuaFileSystem | 2 | ** LuaFileSystem |
| 3 | ** Copyright Kepler Project 2004-2006 (http://www.keplerproject.org/luafilesystem) | 3 | ** Copyright Kepler Project 2003 (http://www.keplerproject.org/luafilesystem) |
| 4 | ** | 4 | ** |
| 5 | ** $Id: lfs.h,v 1.3 2006/03/10 23:37:32 carregal Exp $ | 5 | ** $Id: lfs.h,v 1.4 2008/02/11 22:42:21 carregal 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 | ||
| 16 | int luaopen_lfs (lua_State *L); | 16 | int luaopen_lfs (lua_State *L); |
