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:
parent
d1a329536a
commit
4ed540ddc7
@ -48,8 +48,10 @@ as that of the covered work. */
|
|||||||
|
|
||||||
/* Disable assertions when debug support is not compiled in. */
|
/* Disable assertions when debug support is not compiled in. */
|
||||||
#ifndef ENABLE_DEBUG
|
#ifndef ENABLE_DEBUG
|
||||||
|
#ifndef NDEBUG
|
||||||
# define NDEBUG
|
# define NDEBUG
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Is OpenSSL or GNUTLS available? */
|
/* Is OpenSSL or GNUTLS available? */
|
||||||
#if defined HAVE_LIBSSL || defined HAVE_LIBSSL32 || defined HAVE_LIBGNUTLS
|
#if defined HAVE_LIBSSL || defined HAVE_LIBSSL32 || defined HAVE_LIBGNUTLS
|
||||||
|
Loading…
Reference in New Issue
Block a user