diff options
| author | Petr Mrázek | 2012-05-30 01:12:08 +0200 |
|---|---|---|
| committer | Petr Mrázek | 2012-05-30 01:12:08 +0200 |
| commit | c85e9fb35d3510c5dcc367056cda3237d77a7add (patch) | |
| tree | dc2770bd20fd7ecbe8c765bab666639e5df27395 /src/SimpleSocket.h | |
| parent | 54cad7ca5431c8e27cfb90f51fdfaf69211f0a4f (diff) | |
| download | clsocket-c85e9fb35d3510c5dcc367056cda3237d77a7add.tar.gz clsocket-c85e9fb35d3510c5dcc367056cda3237d77a7add.tar.bz2 clsocket-c85e9fb35d3510c5dcc367056cda3237d77a7add.tar.xz | |
Fix the fail.
Diffstat (limited to 'src/SimpleSocket.h')
| -rwxr-xr-x | src/SimpleSocket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SimpleSocket.h b/src/SimpleSocket.h index 23ed419..a3f7032 100755 --- a/src/SimpleSocket.h +++ b/src/SimpleSocket.h @@ -49,7 +49,7 @@ #include <stdarg.h> #include <errno.h> -#if defined(__LINUX__) || defined (__APPLE__) +#if defined(_LINUX) || defined (__APPLE__) #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> @@ -57,7 +57,7 @@ #include <netinet/ip.h> #include <netdb.h> #endif -#ifdef __LINUX__ +#ifdef _LINUX #include <linux/if_packet.h> #include <linux/if_ether.h> #include <linux/if.h> |
