Fix compilation on *nix systems
This commit is contained in:
parent
f6350dcf17
commit
939e094421
@ -42,6 +42,10 @@
|
|||||||
#define mymkdir(path) mkdir(path, 0)
|
#define mymkdir(path) mkdir(path, 0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef O_BINARY
|
||||||
|
#define O_BINARY 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/* fexists.c */
|
/* fexists.c */
|
||||||
int fexist(const char *filename);
|
int fexist(const char *filename);
|
||||||
long fsize(const char *filename);
|
long fsize(const char *filename);
|
||||||
|
Reference in New Issue
Block a user