1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

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

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