summaryrefslogtreecommitdiff
path: root/Build/source/libs/luafilesystem/src/lfs.h
blob: 62ae79fa96c52d45b0e852bbc062d8a59a62e900 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);