fix warning for redefining macro on MinGW

This commit is contained in:
Thijs Schreijer
2015-08-24 20:54:36 +02:00
parent b6d5b37c1b
commit dc00750ea9

View File

@@ -18,8 +18,10 @@
#define chdir(p) (_chdir(p))
#define getcwd(d, s) (_getcwd(d, s))
#define rmdir(p) (_rmdir(p))
#ifndef fileno
#define fileno(f) (_fileno(f))
#endif
#endif
#ifdef __cplusplus
extern "C" {