aboutsummaryrefslogtreecommitdiff
path: root/src/lfs.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-01-15 16:47:01 -0200
committerHisham Muhammad <hisham@gobolinux.org>2015-01-15 16:47:01 -0200
commita86072a7ecbe00922acf4a2ebdb856334fb3e6b9 (patch)
treeecb39afa240e505818e0cd3d7fcf67f9fa2b4ba1 /src/lfs.h
parent5422c7ac6beb2231f41a523ddcd6dfbe16d8b952 (diff)
parente798c4f07f2c355256076ebcc5ff779a8548c806 (diff)
downloadluafilesystem-a86072a7ecbe00922acf4a2ebdb856334fb3e6b9.tar.gz
luafilesystem-a86072a7ecbe00922acf4a2ebdb856334fb3e6b9.tar.bz2
luafilesystem-a86072a7ecbe00922acf4a2ebdb856334fb3e6b9.zip
Merge pull request #48 from trms/upmaster
Lua 5.3, warnings in windows, extra null byte
Diffstat (limited to 'src/lfs.h')
-rw-r--r--src/lfs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lfs.h b/src/lfs.h
index 4b52780..ddd454d 100644
--- a/src/lfs.h
+++ b/src/lfs.h
@@ -11,6 +11,14 @@
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
15#endif
16
17#ifdef _WIN32
18#define chdir(p) (_chdir(p))
19#define getcwd(d, s) (_getcwd(d, s))
20#define rmdir(p) (_rmdir(p))
21#define fileno(f) (_fileno(f))
14#endif 22#endif
15 23
16 24