diff options
Diffstat (limited to 'include/my_net.h')
-rw-r--r-- | include/my_net.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/my_net.h b/include/my_net.h index 9a4f2f44b49..f56ae09ad8c 100644 --- a/include/my_net.h +++ b/include/my_net.h @@ -43,7 +43,7 @@ C_MODE_START #include <sys/ioctl.h> #endif -#if !defined(__WIN__) +#if !defined(_WIN32) #include <netinet/in_systm.h> #include <netinet/in.h> #include <netinet/ip.h> @@ -52,7 +52,7 @@ C_MODE_START #endif #endif -#if defined(__WIN__) +#if defined(_WIN32) #define O_NONBLOCK 1 /* For emulation of fcntl() */ /* |