keyfiles: Fixed the windows defines.
Этот коммит содержится в:
родитель
a2fe4b2b2c
Коммит
8c318fcb21
@ -33,7 +33,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifdef _WIN32
|
||||||
# if _MSC_VER >= 1400
|
# if _MSC_VER >= 1400
|
||||||
# include <io.h>
|
# include <io.h>
|
||||||
# undef open
|
# undef open
|
||||||
@ -43,6 +43,7 @@
|
|||||||
# undef read
|
# undef read
|
||||||
# define read _read
|
# define read _read
|
||||||
# endif /* _MSC_VER */
|
# endif /* _MSC_VER */
|
||||||
|
#else
|
||||||
# include <arpa/inet.h>
|
# include <arpa/inet.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user