Files
st/libs/c/include/stddef.h
T
Yanis c98c03de39 Match MSL_C (#8)
* match wstring.c

* match math_api.c, mbstring.c, mem.c and mem_funcs.c

* more progress

* build issues

* fix non-matching issues

* reorganise files

* match fdlibm (+ libc progress)

* fix jp build

* solved some non-matchings and progress

* removed types.h usage in libc

* match data and add missing delinks for jp
2025-12-17 14:08:53 +01:00

36 lines
495 B
C

#ifndef _C_STDDEF_H
#define _C_STDDEF_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef NULL
#define NULL 0
#endif
#ifndef nullptr
#define nullptr 0
#endif
#define offsetof(ST, M) ((size_t) &(((ST *) 0)->M))
typedef signed long intptr_t;
typedef unsigned long uintptr_t;
typedef intptr_t ptrdiff_t;
typedef unsigned int size_t;
#ifndef __cplusplus
typedef int bool;
typedef unsigned short wchar_t;
#define true 1
#define false 0
#endif
#ifdef __cplusplus
}
#endif
#endif