#if
_CRT_FUNCTIONS_REQUIRED
_ACRTIMP
int
*
__cdecl
_errno
(
void
);
#define
errno
(*_errno())
_ACRTIMP
errno_t
__cdecl
_set_errno
(
_In_
int
_Value
);
_ACRTIMP
errno_t
__cdecl
_get_errno
(
_Out_
int
*
_Value
);
_ACRTIMP
unsigned
long
*
__cdecl
__doserrno
(
void
);
#define
_doserrno
(*__doserrno())
_ACRTIMP
errno_t
__cdecl
_set_doserrno
(
_In_
unsigned
long
_Value
);
_ACRTIMP
errno_t
__cdecl
_get_doserrno
(
_Out_
unsigned
long
*
_Value
);
#endif
// _CRT_FUNCTIONS_REQUIRED
// Error codes used in the Secure CRT functions
#define
_SECURECRT_ERRCODE_VALUES_DEFINED
// Support EDEADLOCK for compatibility with older Microsoft C versions
#define
EDEADLOCK
EDEADLK
#ifndef
_CRT_NO_POSIX_ERROR_CODES
#define
EADDRNOTAVAIL
101
#define
ENOTRECOVERABLE
127
#define
EPROTONOSUPPORT
135
#endif
// _CRT_NO_POSIX_ERROR_CODES