aboutsummaryrefslogtreecommitdiff
path: root/src/lfs.h
diff options
context:
space:
mode:
authormascarenhas <mascarenhas>2008-02-19 20:08:23 +0000
committermascarenhas <mascarenhas>2008-02-19 20:08:23 +0000
commitc5bfbb1bd28daa49a0d6c136052aea109f314f85 (patch)
treefede8da65aeaaab97e79499cdd3df99b8220db81 /src/lfs.h
parentc2e720b5dc42d8e9cd3ba64276ad6cf47aea26b0 (diff)
downloadluafilesystem-c5bfbb1bd28daa49a0d6c136052aea109f314f85.tar.gz
luafilesystem-c5bfbb1bd28daa49a0d6c136052aea109f314f85.tar.bz2
luafilesystem-c5bfbb1bd28daa49a0d6c136052aea109f314f85.zip
fixed windows compile problem
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);