Define NDEBUG when building 3rd party libraries.

We are not interested in asserts in 3rd party libraries so make them disappear
by defining NDEBUG when building them.

Closes #11155.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-09-18 16:15:54 +00:00
parent 2e587bb9ec
commit 9dab58b103
35 changed files with 677 additions and 664 deletions

View File

@@ -53,8 +53,10 @@
/* assertions */
#ifndef assert
# ifndef REG_DEBUG
# ifndef NDEBUG
# define NDEBUG /* no assertions */
# endif
# endif
#include <assert.h>
#endif