aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ponyc/rename-SO_RCVTIMEO-SO_SNDTIMEO-with-OLD-suffix.patch
blob: d8b4ece86728772706994df8a5955170d2a4d660 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=45bdc66159d49bfc7f75fe02d25bc74f5d2660cf
--- a/src/libponyrt/lang/socket.c
+++ b/src/libponyrt/lang/socket.c
@@ -4470,8 +4470,8 @@
 #ifdef SO_RCVLOWAT
     case 886: return SO_RCVLOWAT;
 #endif
-#ifdef SO_RCVTIMEO
-    case 887: return SO_RCVTIMEO;
+#ifdef SO_RCVTIMEO_OLD
+    case 887: return SO_RCVTIMEO_OLD;
 #endif
 #ifdef SO_RDS_TRANSPORT
     case 888: return SO_RDS_TRANSPORT;
@@ -4527,8 +4527,8 @@
 #ifdef SO_SNDLOWAT
     case 905: return SO_SNDLOWAT;
 #endif
-#ifdef SO_SNDTIMEO
-    case 906: return SO_SNDTIMEO;
+#ifdef SO_SNDTIMEO_OLD
+    case 906: return SO_SNDTIMEO_OLD;
 #endif
 #ifdef SO_TIMESTAMP
     case 907: return SO_TIMESTAMP;