mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2025-02-21 21:11:53 -08:00
33 lines
442 B
C
33 lines
442 B
C
#ifndef __CLASSIC_OS_KSTDC_STDDEF_H__
|
|
#define __CLASSIC_OS_KSTDC_STDDEF_H__ 1
|
|
|
|
typedef long unsigned int size_t;
|
|
typedef long int ptrdiff_t;
|
|
|
|
#ifndef __cplusplus
|
|
|
|
typedef int wchar_t;
|
|
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
|
|
typedef decltype(nullptr) nullptr_t;
|
|
|
|
#endif
|
|
|
|
#ifndef __cplusplus
|
|
|
|
#define NULL ((void *)0)
|
|
|
|
#else
|
|
|
|
#define NULL 0
|
|
|
|
#endif
|
|
|
|
#undef offsetof
|
|
#define offsetof(s, m) __builtin_offsetof(s, m)
|
|
|
|
#endif // __CLASSIC_OS_KSTDC_STDDEF_H__
|