[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

@ -15,18 +15,6 @@
extern "C" {
#endif
#ifndef NULL
#ifdef __cplusplus
#ifndef _WIN64
#define NULL 0
#else
#define NULL 0LL
#endif /* W64 */
#else
#define NULL ((void *)0)
#endif
#endif
#ifndef MB_LEN_MAX
#define MB_LEN_MAX 5
#endif