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 <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2015-12-25 12:23:39 +01:00 committed by Zdenko Podobný
parent 8daef71a83
commit ac6b17e918

View File

@ -140,10 +140,6 @@ typedef unsigned char BOOL8;
#define FALSE 0
#endif
#ifndef NULL
#define NULL 0L
#endif
// Return true if x is within tolerance of y
template<class T> bool NearlyEqual(T x, T y, T tolerance) {
T diff = x - y;