mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2026-03-19 18:18:30 +00:00
setup_once: system error codes for Windows CE
This commit is contained in:
12
setup_once.h
12
setup_once.h
@ -459,6 +459,18 @@ typedef int sig_atomic_t;
|
|||||||
#endif
|
#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()
|
* Actually use __32_getpwuid() on 64-bit VMS builds for getpwuid()
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user