diff options
| author | Anton <anton@picapica> | 2017-11-15 20:18:46 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2017-11-15 20:19:24 +0400 |
| commit | 62206fc413bbf7270778f60b412f39cf25551ce0 (patch) | |
| tree | d912eb21e4476372e99a5f1e6ac16c92842db1a8 | |
| parent | 558ae535f5a12f1f6e0589a179934f29c44813e0 (diff) | |
| download | pica-pica-62206fc413bbf7270778f60b412f39cf25551ce0.tar.gz pica-pica-62206fc413bbf7270778f60b412f39cf25551ce0.zip | |
fix building on OS X, define MSG_NOSIGNAL
| -rw-r--r-- | PICA_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PICA_common.h b/PICA_common.h index dd92b32..49d18f1 100644 --- a/PICA_common.h +++ b/PICA_common.h @@ -11,7 +11,7 @@ #define IOCTLSETNONBLOCKINGSOCKET(s, arg) ioctl(s, FIONBIO, (int*)(arg)) #endif -#ifdef WIN32 +#if defined(WIN32) || defined (__APPLE__) #define MSG_NOSIGNAL 0 #endif |
