1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2026-03-19 13:17:59 +00:00

setup_once: system error codes for Windows CE

This commit is contained in:
Yang Tse
2011-03-22 20:51:15 +01:00
parent c7ce7c7d45
commit 3abad87d88

View File

@ -459,6 +459,18 @@ typedef int sig_atomic_t;
#endif
/*
* System error codes for Windows CE
*/
#if defined(WIN32) && !defined(HAVE_ERRNO_H)
#define ENOENT ERROR_FILE_NOT_FOUND
#define ESRCH ERROR_PATH_NOT_FOUND
#define ENOMEM ERROR_NOT_ENOUGH_MEMORY
#define ENOSPC ERROR_INVALID_PARAMETER
#endif
/*
* Actually use __32_getpwuid() on 64-bit VMS builds for getpwuid()
*/