diff options
author | Andy Polyakov <appro@openssl.org> | 2016-04-06 12:47:35 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2016-04-07 21:18:00 +0200 |
commit | 463a7b8cb0a449512448155a477f1460d8c951d9 (patch) | |
tree | 89baa5628a0eeee759ecad222b8bc0213275772e /e_os.h | |
parent | c32cbe97873bf919dc4d1bc332e4758ee6caea78 (diff) |
Clean-up *_DEBUG options.
Since NDEBUG is defined unconditionally on command line for release
builds, we can omit *_DEBUG options in favour of effective "all-on"
in debug builds exercised though CI.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'e_os.h')
-rw-r--r-- | e_os.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -72,15 +72,12 @@ extern "C" { /* Used to checking reference counts, most while doing perl5 stuff :-) */ # if defined(OPENSSL_NO_STDIO) -# if defined(REF_DEBUG) -# error "REF_DEBUG requires stdio" -# endif # if defined(REF_PRINT) # error "REF_PRINT requires stdio" # endif # endif -# if defined(REF_DEBUG) +# if !defined(NDEBUG) && !defined(OPENSSL_NO_STDIO) # define REF_ASSERT_ISNT(test) \ (void)((test) ? (OPENSSL_die("refcount error", __FILE__, __LINE__), 1) : 0) # else |