From 4ed540ddc78cbe3eb694bb483e6cfb436bd382cd Mon Sep 17 00:00:00 2001 From: Darshit Shah Date: Mon, 16 Nov 2015 23:53:59 +0100 Subject: [PATCH] Eliminate NDEBUG redefined warnings * src/wget.h: Define NDEBUG only if it hasn't been defined before --- src/wget.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wget.h b/src/wget.h index ab6270f1..eacf7252 100644 --- a/src/wget.h +++ b/src/wget.h @@ -48,8 +48,10 @@ as that of the covered work. */ /* Disable assertions when debug support is not compiled in. */ #ifndef ENABLE_DEBUG +#ifndef NDEBUG # define NDEBUG #endif +#endif /* Is OpenSSL or GNUTLS available? */ #if defined HAVE_LIBSSL || defined HAVE_LIBSSL32 || defined HAVE_LIBGNUTLS