win32 doesn't need and even doesn't build if we extern declare sys_nerr
This commit is contained in:
parent
762dcf0780
commit
3ecf63fa66
@ -488,7 +488,9 @@ get_winsock_error (int err, char *buf, size_t len)
|
|||||||
}
|
}
|
||||||
#endif /* WIN32 && !__CYGWIN__ */
|
#endif /* WIN32 && !__CYGWIN__ */
|
||||||
|
|
||||||
|
#ifndef WIN32
|
||||||
extern int sys_nerr;
|
extern int sys_nerr;
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Our thread-safe and smart strerror() replacement.
|
* Our thread-safe and smart strerror() replacement.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user