Skip to content

Commit ac6b17e

Browse files
stweilzdenop
authored andcommitted
Remove unneeded definition for NULL
NULL is already defined in stddef.h, so a local definition is not be needed. Signed-off-by: Stefan Weil <[email protected]>
1 parent 8daef71 commit ac6b17e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ccutil/host.h

-4
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,6 @@ typedef unsigned char BOOL8;
140140
#define FALSE 0
141141
#endif
142142

143-
#ifndef NULL
144-
#define NULL 0L
145-
#endif
146-
147143
// Return true if x is within tolerance of y
148144
template<class T> bool NearlyEqual(T x, T y, T tolerance) {
149145
T diff = x - y;

0 commit comments

Comments
 (0)