Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/lib/sysdep/os/win/wposix/werrno.h
/* Copyright (C) 2010 Wildfire Games. | /* Copyright (C) 2020 Wildfire Games. | ||||
* | * | ||||
* Permission is hereby granted, free of charge, to any person obtaining | * Permission is hereby granted, free of charge, to any person obtaining | ||||
* a copy of this software and associated documentation files (the | * a copy of this software and associated documentation files (the | ||||
* "Software"), to deal in the Software without restriction, including | * "Software"), to deal in the Software without restriction, including | ||||
* without limitation the rights to use, copy, modify, merge, publish, | * without limitation the rights to use, copy, modify, merge, publish, | ||||
* distribute, sublicense, and/or sell copies of the Software, and to | * distribute, sublicense, and/or sell copies of the Software, and to | ||||
* permit persons to whom the Software is furnished to do so, subject to | * permit persons to whom the Software is furnished to do so, subject to | ||||
* the following conditions: | * the following conditions: | ||||
▲ Show 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | |||||
#define ENOSYS 38 // Function not implemented | #define ENOSYS 38 // Function not implemented | ||||
#define ENOTEMPTY 39 // Directory not empty | #define ENOTEMPTY 39 // Directory not empty | ||||
#define EILSEQ 84 // Illegal byte sequence | #define EILSEQ 84 // Illegal byte sequence | ||||
#endif | #endif | ||||
// defined by winsock2 and also Linux (with different values) | // defined by winsock2 and also Linux (with different values) | ||||
// (values derived from winsock2 WSA* constants minus WSABASEERR) | // (values derived from winsock2 WSA* constants minus WSABASEERR) | ||||
// update: disabled on newer Boost versions because filesystem drags in boost/cerrno.hpp | // update: disabled on newer Boost versions because filesystem drags in boost/cerrno.hpp | ||||
#if (!defined(BOOST_VERSION) || BOOST_VERSION <= 103401) && (!MSC_VERSION || MSC_VERSION < 1600) | #if (!defined(BOOST_VERSION) || BOOST_VERSION <= 103401) && !MSC_VERSION | ||||
#define EWOULDBLOCK 35 | #define EWOULDBLOCK 35 | ||||
#define EINPROGRESS 36 | #define EINPROGRESS 36 | ||||
#define EALREADY 37 | #define EALREADY 37 | ||||
#define ENOTSOCK 38 | #define ENOTSOCK 38 | ||||
#define EDESTADDRREQ 39 | #define EDESTADDRREQ 39 | ||||
#define EMSGSIZE 40 | #define EMSGSIZE 40 | ||||
#define EPROTOTYPE 41 | #define EPROTOTYPE 41 | ||||
#define ENOPROTOOPT 42 | #define ENOPROTOOPT 42 | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator