Jump to content

[patch] Macos X Compilation


Auntie Mangos

Recommended Posts

Makes deps compile on MacOS X:

Mark

Index: dep/src/sockets/TcpSocket.cpp
===================================================================
--- dep/src/sockets/TcpSocket.cpp        (revision 5497)
+++ dep/src/sockets/TcpSocket.cpp        (working copy)
@@ -144,7 +144,11 @@
#pragma warning(default:4355)
#endif

+#ifdef __APPLE__
+#define MSG_NOSIGNAL SO_NOSIGPIPE
+#endif

+
TcpSocket::~TcpSocket()
{
#ifdef SOCKETS_DYNAMIC_TEMP

Link to comment
Share on other sites

  • 2 months later...
  • 3 years later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use