mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-22 02:53:06 +00:00
Merge pull request #53 from Tieske/fix_warning
fix warning for redefining macro on MinGW
This commit is contained in:
@@ -18,8 +18,10 @@
|
|||||||
#define chdir(p) (_chdir(p))
|
#define chdir(p) (_chdir(p))
|
||||||
#define getcwd(d, s) (_getcwd(d, s))
|
#define getcwd(d, s) (_getcwd(d, s))
|
||||||
#define rmdir(p) (_rmdir(p))
|
#define rmdir(p) (_rmdir(p))
|
||||||
|
#ifndef fileno
|
||||||
#define fileno(f) (_fileno(f))
|
#define fileno(f) (_fileno(f))
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|||||||
Reference in New Issue
Block a user