Changeset View
Changeset View
Standalone View
Standalone View
include/stddef.h
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | |||||
#if __ISO_C_VISIBLE >= 2011 || __cplusplus >= 201103L | #if __ISO_C_VISIBLE >= 2011 || __cplusplus >= 201103L | ||||
#ifndef __CLANG_MAX_ALIGN_T_DEFINED | #ifndef __CLANG_MAX_ALIGN_T_DEFINED | ||||
typedef __max_align_t max_align_t; | typedef __max_align_t max_align_t; | ||||
#define __CLANG_MAX_ALIGN_T_DEFINED | #define __CLANG_MAX_ALIGN_T_DEFINED | ||||
#define _GCC_MAX_ALIGN_T | #define _GCC_MAX_ALIGN_T | ||||
#endif | #endif | ||||
#endif | #endif | ||||
#ifndef offsetof | |||||
imp: Hmmm, this one might not be right... I'll have to look later today... | |||||
#define offsetof(type, field) __offsetof(type, field) | #define offsetof(type, field) __offsetof(type, field) | ||||
#endif /* offsetof */ | |||||
#if __EXT1_VISIBLE | #if __EXT1_VISIBLE | ||||
/* ISO/IEC 9899:2011 K.3.3.2 */ | /* ISO/IEC 9899:2011 K.3.3.2 */ | ||||
#ifndef _RSIZE_T_DEFINED | #ifndef _RSIZE_T_DEFINED | ||||
#define _RSIZE_T_DEFINED | #define _RSIZE_T_DEFINED | ||||
typedef size_t rsize_t; | typedef size_t rsize_t; | ||||
#endif | #endif | ||||
#endif /* __EXT1_VISIBLE */ | #endif /* __EXT1_VISIBLE */ | ||||
#endif /* _STDDEF_H_ */ | #endif /* _STDDEF_H_ */ |
Hmmm, this one might not be right... I'll have to look later today...