mirror of
https://github.com/curl/curl.git
synced 2026-04-15 21:01:39 +03:00
win32 doesn't need and even doesn't build if we extern declare sys_nerr
This commit is contained in:
parent
762dcf0780
commit
3ecf63fa66
1 changed files with 2 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue