projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
762dcf0
)
win32 doesn't need and even doesn't build if we extern declare sys_nerr
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 25 Mar 2004 13:43:19 +0000
(13:43 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 25 Mar 2004 13:43:19 +0000
(13:43 +0000)
lib/strerror.c
patch
|
blob
|
history
diff --git
a/lib/strerror.c
b/lib/strerror.c
index 32ece136eb50a5f8013299286c4d1fb9c982f6c0..a6f25d0c470ffa604bd5eb6155ac2b541ee57ff2 100644
(file)
--- a/
lib/strerror.c
+++ b/
lib/strerror.c
@@
-488,7
+488,9
@@
get_winsock_error (int err, char *buf, size_t len)
}
#endif /* WIN32 && !__CYGWIN__ */
+#ifndef WIN32
extern int sys_nerr;
+#endif
/*
* Our thread-safe and smart strerror() replacement.