summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton <anton@picapica>2017-11-15 20:18:46 +0400
committerAnton <anton@picapica>2017-11-15 20:19:24 +0400
commit62206fc413bbf7270778f60b412f39cf25551ce0 (patch)
treed912eb21e4476372e99a5f1e6ac16c92842db1a8
parent558ae535f5a12f1f6e0589a179934f29c44813e0 (diff)
downloadpica-pica-62206fc413bbf7270778f60b412f39cf25551ce0.tar.gz
pica-pica-62206fc413bbf7270778f60b412f39cf25551ce0.zip
fix building on OS X, define MSG_NOSIGNAL
-rw-r--r--PICA_common.h2
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