mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
13 lines
496 B
Diff
13 lines
496 B
Diff
--- src/luasocket/usocket.c.orig 2022-07-30 19:42:53.000000000 +0800
|
|
+++ src/luasocket/usocket.c 2022-11-26 17:38:51.000000000 +0800
|
|
@@ -426,7 +426,9 @@
|
|
case EAI_MEMORY: return "memory allocation failure";
|
|
case EAI_NONAME:
|
|
return "host or service not provided, or not known";
|
|
+#ifdef EAI_OVERFLOW
|
|
case EAI_OVERFLOW: return "argument buffer overflow";
|
|
+#endif
|
|
#ifdef EAI_PROTOCOL
|
|
case EAI_PROTOCOL: return "resolved protocol is unknown";
|
|
#endif
|