[CRT] Define NULL in crtdefs.h

This commit is contained in:
Timo Kreuzer 2021-07-27 15:08:26 +02:00
parent ce65553eaa
commit 486a4d93ed
10 changed files with 8 additions and 77 deletions

View file

@ -365,15 +365,6 @@ typedef __WCHAR_TYPE__ wchar_t;
#endif /* __sys_stdtypes_h */
/* A null pointer constant. */
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void*)0)
#endif
#endif
#ifndef offsetof
/* Offset of member MEMBER in a struct of type TYPE. */