File Index Symbol Index

//
// stddef.h
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// The C <stddef.h> Standard Library header.
//
#pragma once
#ifndef _INC_STDDEF // include guard for 3rd party interop
#define _INC_STDDEF
#include <corecrt.h>
#ifdef __cplusplus
namespace
std
{
typedef
decltype
(
__nullptr
)
nullptr_t
; }
using
::
std
::
nullptr_t
;
#endif
#if _CRT_FUNCTIONS_REQUIRED
#define errno (*_errno())
#endif // _CRT_FUNCTIONS_REQUIRED
#if defined _MSC_VER && !defined _CRT_USE_BUILTIN_OFFSETOF
#ifdef __cplusplus
#define offsetof(s,m) ((::size_t)&reinterpret_cast<char const volatile&>((((s*)0)->m)))
#else
#define offsetof(s,m) ((size_t)&(((s*)0)->m))
#endif #else
#define offsetof(s,m) __builtin_offsetof(s,m) #endif
#define _threadid (__threadid())