aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorLee Salzman <[email protected]>2013-05-09 15:04:01 +0300
committerLee Salzman <[email protected]>2013-05-09 15:04:01 +0300
commitbd4e5035bcc2f6a5bbad63c39f8fc3423cac55d8 (patch)
treee77d442e1bb375b13848dff9df0526b97a025bdb /include
parent71d6d63ed852eb011fba7bf568ab2ce478f5a2ac (diff)
downloadenet-bd4e5035bcc2f6a5bbad63c39f8fc3423cac55d8.tar.gz
enet-bd4e5035bcc2f6a5bbad63c39f8fc3423cac55d8.zip
move MSG_MAXIOVLEN check out of configure.ac
Diffstat (limited to 'include')
-rw-r--r--include/enet/unix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/enet/unix.h b/include/enet/unix.h
index 087015e..6aae21a 100644
--- a/include/enet/unix.h
+++ b/include/enet/unix.h
@@ -11,6 +11,10 @@
#include <netinet/in.h>
#include <unistd.h>
+#ifdef MSG_MAXIOVLEN
+#define ENET_BUFFER_MAXIMUM MSG_MAXIOVLEN
+#endif
+
typedef int ENetSocket;
enum