20 typedef decltype(__nullptr) nullptr_t;
23 using ::std::nullptr_t;
28 #if _CRT_FUNCTIONS_REQUIRED
31 #define errno (*_errno())
36 #endif // _CRT_FUNCTIONS_REQUIRED
40 #if defined _MSC_VER && !defined _CRT_USE_BUILTIN_OFFSETOF
42 #define offsetof(s,m) ((size_t)&reinterpret_cast<char const volatile&>((((s*)0)->m)))
44 #define offsetof(s,m) ((size_t)&(((s*)0)->m))
47 #define offsetof(s,m) __builtin_offsetof(s,m)
51 #define _threadid (__threadid())
#define _Out_
Definition: sal.h:342
#define _ACRTIMP
Definition: corecrt.h:27
int errno_t
Definition: corecrt.h:476
#define _CRT_BEGIN_C_HEADER
Definition: vcruntime.h:73
unsigned int uintptr_t
Definition: vadefs.h:30
#define _In_
Definition: sal.h:305
_CRT_BEGIN_C_HEADER _ACRTIMP int *__cdecl _errno(void)
#define _CRT_END_C_HEADER
Definition: vcruntime.h:76
_In_ _Value
Definition: corecrt_wstdlib.h:65
_ACRTIMP errno_t __cdecl _get_errno(_Out_ int *_Value)
_ACRTIMP uintptr_t __cdecl __threadhandle(void)
_ACRTIMP unsigned long __cdecl __threadid(void)
_ACRTIMP errno_t __cdecl _set_errno(_In_ int _Value)