diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2015-08-24 16:32:49 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-08-24 16:32:49 -0300 |
| commit | 6d039ff3854db74c1b32ab3f14377bd5f49e2119 (patch) | |
| tree | 0c87e080c2a2d940b354950d7b0a99d821ef63ed | |
| parent | b6d5b37c1b1f358a268ff1c5ea48d314fbf9d726 (diff) | |
| parent | dc00750ea917d4c217d51ad739fedb50010b08da (diff) | |
| download | luafilesystem-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -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 |
| 25 | extern "C" { | 27 | extern "C" { |
