mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 10:35:40 +08:00
Define _set_errno if not present on the compile-platform (e.g. Linux)
This commit is contained in:
parent
09a7249cfc
commit
870e34d77c
@ -116,6 +116,10 @@ void daemonize(void);
|
||||
#ifdef _WIN32
|
||||
#define strcasecmp stricmp
|
||||
#define strncasecmp strnicmp
|
||||
#else
|
||||
#ifndef _set_errno
|
||||
#define _set_errno(x) (errno = x)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef SOCKET_ERROR
|
||||
|
Loading…
Reference in New Issue
Block a user