1#ifndef __SIMPLE_LIBC_STDDEF_H__
2#define __SIMPLE_LIBC_STDDEF_H__
6#if VSF_LINUX_CFG_RELATIVE_PATH == ENABLED
7# include "../sys/types.h"
15#define VSF_LINUX_LIBC_WRAPPER(__api) VSF_SHELL_WRAPPER(vsf_linux_libc, __api)
19#if !defined(__cplusplus)
22# if defined(__WCHAR_TYPE__)
24# elif defined(__WIN__)
26# elif __IS_COMPILER_GCC__ || __IS_COMPILER_LLVM__
33typedef __WINT_TYPE__
wint_t;
37#if __IS_COMPILER_IAR__
52# define NULL ((void *)0)
66# if __IS_COMPILER_GCC__ || __IS_COMPILER_LLVM__
67# define offsetof(__type, __member) __builtin_offsetof(__type, __member)
69# define offsetof(__type, __member) (uintptr_t)(&(((__type *)0)->__member))
74#if __IS_COMPILER_GCC__
76 long long __clang_max_align_nonce1
78 long double __clang_max_align_nonce2
81#elif __IS_COMPILER_LLVM__
84# elif defined(__MACOS__)
88 long long __clang_max_align_nonce1
90 long double __clang_max_align_nonce2
98#if __IS_COMPILER_IAR__
99typedef void *nullptr_t;
102#if defined(__PTRDIFF_TYPE__)
104#elif defined(__WIN__)
105# if defined(__CPU_X86__)
106typedef unsigned int size_t;
110# elif defined(__CPU_X64__)
111typedef unsigned __int64
size_t;
125 typedef decltype(__nullptr) nullptr_t;
128using ::std::nullptr_t;
__attribute__((weak))
Definition handlers.c:10
long int ptrdiff_t
Definition stddef.h:117
long double max_align_t
Definition stddef.h:95
unsigned short wchar_t
Definition stddef.h:29
unsigned short wint_t
Definition stddef.h:35
unsigned int size_t
Definition types.h:51
Definition vsf_linux_glibcpp.cc:8
uint32_t uintptr_t
Definition stdint.h:38
int32_t intptr_t
Definition stdint.h:39