diff options
| author | Timothy Collett | 2012-06-14 13:42:04 -0400 |
|---|---|---|
| committer | Timothy Collett | 2012-06-14 13:42:04 -0400 |
| commit | f2722ca9ac49f8f13da4ddcfcb0fa47a0eb30454 (patch) | |
| tree | 3d301b5830a5c30246c730e7e2f946edada6b96b /src/SimpleSocket.cpp | |
| parent | c85e9fb35d3510c5dcc367056cda3237d77a7add (diff) | |
| download | clsocket-f2722ca9ac49f8f13da4ddcfcb0fa47a0eb30454.tar.gz clsocket-f2722ca9ac49f8f13da4ddcfcb0fa47a0eb30454.tar.bz2 clsocket-f2722ca9ac49f8f13da4ddcfcb0fa47a0eb30454.tar.xz | |
Ensure that pieces that are Linux-specific are ignored on Mac OS X
Diffstat (limited to 'src/SimpleSocket.cpp')
| -rwxr-xr-x | src/SimpleSocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SimpleSocket.cpp b/src/SimpleSocket.cpp index 44f9ffa..a333e3e 100755 --- a/src/SimpleSocket.cpp +++ b/src/SimpleSocket.cpp @@ -92,7 +92,7 @@ CSimpleSocket::CSimpleSocket(CSocketType nType) : //---------------------------------------------------------------------- case CSimpleSocket::SocketTypeRaw: { -#ifdef _LINUX +#if defined(_LINUX) && !defined(__APPLE__) m_nSocketDomain = AF_PACKET; m_nSocketType = CSimpleSocket::SocketTypeRaw; #endif |
