aboutsummaryrefslogtreecommitdiff
path: root/mp3live~/mp3fileout~.c
diff options
context:
space:
mode:
Diffstat (limited to 'mp3live~/mp3fileout~.c')
-rw-r--r--mp3live~/mp3fileout~.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mp3live~/mp3fileout~.c b/mp3live~/mp3fileout~.c
index 0559a75..e8e1c6b 100644
--- a/mp3live~/mp3fileout~.c
+++ b/mp3live~/mp3fileout~.c
@@ -52,8 +52,13 @@
#include <winsock.h>
#include <io.h>
#include <fcntl.h>
-#define MSG_NOSIGNAL 0
#endif
+
+#if defined(__APPLE__) || defined(WIN32)
+#define MSG_NOSIGNAL 0
+#endif
+
+
#include "mpg123.h" /* mpg123 decoding library from lame 3.92 */
#include "mpglib.h" /* mpglib decoding library from lame 3.92 */
#include "interface.h" /* mpglib decoding library from lame 3.92 */