mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
Merge pull request #180 from stweil/master
Remove unneeded definition for NULL
This commit is contained in:
commit
6f6953a972
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user