mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:43:08 +00:00
[CRT] Define NULL in crtdefs.h
This commit is contained in:
parent
ce65553eaa
commit
486a4d93ed
10 changed files with 8 additions and 77 deletions
|
@ -9,6 +9,14 @@
|
|||
#ifndef _INC_CRTDEFS
|
||||
#define _INC_CRTDEFS
|
||||
|
||||
#ifndef NULL
|
||||
#ifdef __cplusplus
|
||||
#define NULL 0
|
||||
#else
|
||||
#define NULL ((void *)0)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _USE_32BIT_TIME_T
|
||||
#ifdef _WIN64
|
||||
#error You cannot use 32-bit time_t (_USE_32BIT_TIME_T) with _WIN64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue