Define NDEBUG for assert() if --enable-debug is not specified.

This commit is contained in:
Juan RP
2013-11-08 09:11:47 +01:00
parent 0909c81cdb
commit 2952c69c7a
2 changed files with 5 additions and 2 deletions

View File

@ -27,6 +27,10 @@
#ifndef _XBPS_API_IMPL_H_
#define _XBPS_API_IMPL_H_
#ifndef DEBUG
#define NDEBUG
#endif
#include <assert.h>
#include <confuse.h>
#define LIBXBPS_PRIVATE