Eliminate NDEBUG redefined warnings

* src/wget.h: Define NDEBUG only if it hasn't been defined before
This commit is contained in:
Darshit Shah 2015-11-16 23:53:59 +01:00
parent d1a329536a
commit 4ed540ddc7
1 changed files with 2 additions and 0 deletions

View File

@ -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