From 0afd5939b1e14239d6bfb875e4160b76d3672e02 Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Mon, 8 May 2017 13:01:22 +0300 Subject: [PATCH] Use NDEBUG macro instead of DEBUG. --- api/tesseractmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tesseractmain.cpp b/api/tesseractmain.cpp index 9e6d35d415..c00940316f 100644 --- a/api/tesseractmain.cpp +++ b/api/tesseractmain.cpp @@ -403,7 +403,7 @@ int main(int argc, char** argv) { static GenericVector vars_vec; static GenericVector vars_values; -#if !defined(DEBUG) +#ifdef NDEBUG // Disable debugging and informational messages from Leptonica. setMsgSeverity(L_SEVERITY_ERROR); #endif