1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-11 20:28:21 +03:00

Remove our own definition of NULL

Surely everyone has that by now.

Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
Reviewed-by: Ryan Murphy <ryanfmurphy@gmail.com>
This commit is contained in:
Peter Eisentraut
2017-08-17 12:39:20 -04:00
parent 5a739e7b2c
commit ba26f5cf76

View File

@ -27,7 +27,7 @@
* ------- ------------------------------------------------ * ------- ------------------------------------------------
* 0) pg_config.h and standard system headers * 0) pg_config.h and standard system headers
* 1) hacks to cope with non-ANSI C compilers * 1) hacks to cope with non-ANSI C compilers
* 2) bool, true, false, TRUE, FALSE, NULL * 2) bool, true, false, TRUE, FALSE
* 3) standard system types * 3) standard system types
* 4) IsValid macros for system types * 4) IsValid macros for system types
* 5) offsetof, lengthof, endof, alignment * 5) offsetof, lengthof, endof, alignment
@ -184,7 +184,7 @@
#endif #endif
/* ---------------------------------------------------------------- /* ----------------------------------------------------------------
* Section 2: bool, true, false, TRUE, FALSE, NULL * Section 2: bool, true, false, TRUE, FALSE
* ---------------------------------------------------------------- * ----------------------------------------------------------------
*/ */
@ -221,14 +221,6 @@ typedef bool *BoolPtr;
#define FALSE 0 #define FALSE 0
#endif #endif
/*
* NULL
* Null pointer.
*/
#ifndef NULL
#define NULL ((void *) 0)
#endif
/* ---------------------------------------------------------------- /* ----------------------------------------------------------------
* Section 3: standard system types * Section 3: standard system types