From 8e5ee7a0e6693786d0a80ee789c65d027766c9c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20D=C3=ADaz=20M=C3=A1s?= Date: Fri, 16 Nov 2018 13:29:53 +0100 Subject: [PATCH] Fix debug flag preprocessor condition --- src/version.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/version.cpp b/src/version.cpp index 308b0486..f8eb282f 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -165,10 +165,10 @@ void Exiv2::dumpLibraryInfo(std::ostream& os,const exv_grep_keys_t& keys) Exiv2::StringVector libs; // libs[0] == executable int bits = 8*sizeof(void*); -#if defined(_DEBUG) || defined(DEBUG) - int debug=1; -#else +#ifdef NDEBUG int debug=0; +#else + int debug=1; #endif #if defined(DLL_EXPORT)