aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-08-24 16:32:49 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-08-24 16:32:49 -0300
commit6d039ff3854db74c1b32ab3f14377bd5f49e2119 (patch)
tree0c87e080c2a2d940b354950d7b0a99d821ef63ed
parentb6d5b37c1b1f358a268ff1c5ea48d314fbf9d726 (diff)
parentdc00750ea917d4c217d51ad739fedb50010b08da (diff)
downloadluafilesystem-6d039ff3854db74c1b32ab3f14377bd5f49e2119.tar.gz
luafilesystem-6d039ff3854db74c1b32ab3f14377bd5f49e2119.tar.bz2
luafilesystem-6d039ff3854db74c1b32ab3f14377bd5f49e2119.zip
Merge pull request #53 from Tieske/fix_warning
fix warning for redefining macro on MinGW
-rw-r--r--src/lfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lfs.h b/src/lfs.h
index 02ceafb..ea1720d 100644
--- a/src/lfs.h
+++ b/src/lfs.h
@@ -18,8 +18,10 @@
18#define chdir(p) (_chdir(p)) 18#define chdir(p) (_chdir(p))
19#define getcwd(d, s) (_getcwd(d, s)) 19#define getcwd(d, s) (_getcwd(d, s))
20#define rmdir(p) (_rmdir(p)) 20#define rmdir(p) (_rmdir(p))
21#ifndef fileno
21#define fileno(f) (_fileno(f)) 22#define fileno(f) (_fileno(f))
22#endif 23#endif
24#endif
23 25
24#ifdef __cplusplus 26#ifdef __cplusplus
25extern "C" { 27extern "C" {