mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Fix a compile problem with recent gcc versions.
This commit is contained in:
parent
58fee1dbc1
commit
212b9bbdc3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98350
16
net/libsocket++/files/patch-sockstream.h
Normal file
16
net/libsocket++/files/patch-sockstream.h
Normal file
@ -0,0 +1,16 @@
|
||||
--- socket++/sockstream.h.orig Fri Jan 16 22:35:55 2004
|
||||
+++ socket++/sockstream.h Fri Jan 16 22:39:09 2004
|
||||
@@ -151,10 +151,12 @@
|
||||
enum msgflag {
|
||||
msg_oob = MSG_OOB,
|
||||
msg_peek = MSG_PEEK,
|
||||
- msg_dontroute = MSG_DONTROUTE,
|
||||
|
||||
#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
|
||||
+ msg_dontroute = MSG_DONTROUTE,
|
||||
msg_maxiovlen = MSG_MAXIOVLEN
|
||||
+#else
|
||||
+ msg_dontroute = MSG_DONTROUTE
|
||||
#endif
|
||||
};
|
||||
enum shuthow {
|
Loading…
Reference in New Issue
Block a user