aboutsummaryrefslogtreecommitdiffstats
path: root/common/os/winerrno.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2024-10-31 17:06:31 +0100
committerPierre Ossman <ossman@cendio.se>2025-02-25 17:18:35 +0100
commit8a11ae468d5ad95da5334f4f3fe1cb528f669144 (patch)
tree1498decb2f63d12826f787c14d3b227139a81613 /common/os/winerrno.h
parent2e63bd5201be08ea6a3d3538e3778bd66d7f81e6 (diff)
downloadtigervnc-8a11ae468d5ad95da5334f4f3fe1cb528f669144.tar.gz
tigervnc-8a11ae468d5ad95da5334f4f3fe1cb528f669144.zip
Move winerrno.h to core
OS abstractions are generic enough that we can merge these with the new core library.
Diffstat (limited to 'common/os/winerrno.h')
-rw-r--r--common/os/winerrno.h91
1 files changed, 0 insertions, 91 deletions
diff --git a/common/os/winerrno.h b/common/os/winerrno.h
deleted file mode 100644
index a81fdc94..00000000
--- a/common/os/winerrno.h
+++ /dev/null
@@ -1,91 +0,0 @@
-
-/* Generated with:
-cat /usr/i686-pc-mingw32/sys-root/mingw/include/winerror.h \
- | awk '/#define WSAE.*WSABASE/{gsub("WSA", ""); print "#undef " $2 "\n#define " $2 " WSA" $2}' \
- | egrep -v 'EINTR|EBADF|EACCES|EFAULT|EINVAL|EMFILE|_QOS|PROVIDER|PROCTABLE'
-*/
-
-#include <winsock2.h>
-
-#undef EWOULDBLOCK
-#define EWOULDBLOCK WSAEWOULDBLOCK
-#undef EINPROGRESS
-#define EINPROGRESS WSAEINPROGRESS
-#undef EALREADY
-#define EALREADY WSAEALREADY
-#undef ENOTSOCK
-#define ENOTSOCK WSAENOTSOCK
-#undef EDESTADDRREQ
-#define EDESTADDRREQ WSAEDESTADDRREQ
-#undef EMSGSIZE
-#define EMSGSIZE WSAEMSGSIZE
-#undef EPROTOTYPE
-#define EPROTOTYPE WSAEPROTOTYPE
-#undef ENOPROTOOPT
-#define ENOPROTOOPT WSAENOPROTOOPT
-#undef EPROTONOSUPPORT
-#define EPROTONOSUPPORT WSAEPROTONOSUPPORT
-#undef ESOCKTNOSUPPORT
-#define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
-#undef EOPNOTSUPP
-#define EOPNOTSUPP WSAEOPNOTSUPP
-#undef EPFNOSUPPORT
-#define EPFNOSUPPORT WSAEPFNOSUPPORT
-#undef EAFNOSUPPORT
-#define EAFNOSUPPORT WSAEAFNOSUPPORT
-#undef EADDRINUSE
-#define EADDRINUSE WSAEADDRINUSE
-#undef EADDRNOTAVAIL
-#define EADDRNOTAVAIL WSAEADDRNOTAVAIL
-#undef ENETDOWN
-#define ENETDOWN WSAENETDOWN
-#undef ENETUNREACH
-#define ENETUNREACH WSAENETUNREACH
-#undef ENETRESET
-#define ENETRESET WSAENETRESET
-#undef ECONNABORTED
-#define ECONNABORTED WSAECONNABORTED
-#undef ECONNRESET
-#define ECONNRESET WSAECONNRESET
-#undef ENOBUFS
-#define ENOBUFS WSAENOBUFS
-#undef EISCONN
-#define EISCONN WSAEISCONN
-#undef ENOTCONN
-#define ENOTCONN WSAENOTCONN
-#undef ESHUTDOWN
-#define ESHUTDOWN WSAESHUTDOWN
-#undef ETOOMANYREFS
-#define ETOOMANYREFS WSAETOOMANYREFS
-#undef ETIMEDOUT
-#define ETIMEDOUT WSAETIMEDOUT
-#undef ECONNREFUSED
-#define ECONNREFUSED WSAECONNREFUSED
-#undef ELOOP
-#define ELOOP WSAELOOP
-#undef ENAMETOOLONG
-#define ENAMETOOLONG WSAENAMETOOLONG
-#undef EHOSTDOWN
-#define EHOSTDOWN WSAEHOSTDOWN
-#undef EHOSTUNREACH
-#define EHOSTUNREACH WSAEHOSTUNREACH
-#undef ENOTEMPTY
-#define ENOTEMPTY WSAENOTEMPTY
-#undef EPROCLIM
-#define EPROCLIM WSAEPROCLIM
-#undef EUSERS
-#define EUSERS WSAEUSERS
-#undef EDQUOT
-#define EDQUOT WSAEDQUOT
-#undef ESTALE
-#define ESTALE WSAESTALE
-#undef EREMOTE
-#define EREMOTE WSAEREMOTE
-#undef EDISCON
-#define EDISCON WSAEDISCON
-#undef ENOMORE
-#define ENOMORE WSAENOMORE
-#undef ECANCELLED
-#define ECANCELLED WSAECANCELLED
-#undef EREFUSED
-#define EREFUSED WSAEREFUSED