projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
70dfbbf
)
Merge pull request #637 from LogosBible/enetdown
author
Alex Rønne Petersen
<alex@alexrp.com>
Thu, 16 May 2013 11:57:08 +0000
(
04:57
-0700)
committer
Alex Rønne Petersen
<alex@alexrp.com>
Thu, 16 May 2013 11:57:08 +0000
(
04:57
-0700)
Handle ENETDOWN error if defined.
mono/io-layer/error.c
patch
|
blob
|
history
diff --git
a/mono/io-layer/error.c
b/mono/io-layer/error.c
index 04ef0782b2c9f1e4c461ae06bfd04d4f6b964fdf..e45fff4bcdda3efa2f323e8b5f72240d22b18683 100644
(file)
--- a/
mono/io-layer/error.c
+++ b/
mono/io-layer/error.c
@@
-180,6
+180,9
@@
errno_to_WSA (guint32 code, const gchar *function_name)
#ifdef EHOSTDOWN
case EHOSTDOWN: result = WSAEHOSTDOWN; break;
#endif
+#ifdef ENETDOWN
+ case ENETDOWN: result = WSAENETDOWN; break;
+#endif
case ENODEV: result = WSAENETDOWN; break;
default:
sys_error = strerror (code);