Fix warnings.
This commit is contained in:
parent
8d28a2382b
commit
5dee290482
@ -52,6 +52,10 @@
|
|||||||
# define O_CREAT _O_CREAT
|
# define O_CREAT _O_CREAT
|
||||||
# define S_IRUSR _S_IREAD
|
# define S_IRUSR _S_IREAD
|
||||||
# define S_IWUSR _S_IWRITE
|
# define S_IWUSR _S_IWRITE
|
||||||
|
# define open _open
|
||||||
|
# define close _close
|
||||||
|
# define dup _dup
|
||||||
|
# define dup2 _dup2
|
||||||
# else
|
# else
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user