Enable assertions by default, even with --debug disabled.

This commit is contained in:
Juan RP committed 2012-03-12 11:22:18 +01:00
1 parent 48c36602a5
commit 35c2e2a75d
2 files changed
+3 -3

No files matched your search

+3
View File
@@ -4,6 +4,9 @@ xbps-0.15 (???):
file not modified". When extracting package files, always set
permissions from binary package, even if file has not been modified.
* Enabled assertions by default even if --debug not enabled. We want
to enforce correct behaviour even in release builds.
xbps-0.14 (2012-02-28):
* Fixed 'xbps-bin reconfigure all' (regression added in 0.13).
-3
View File
@@ -27,9 +27,6 @@
#ifndef _XBPS_API_IMPL_H_
#define _XBPS_API_IMPL_H_
#ifndef DEBUG
# define NDEBUG
#endif
#include <assert.h>
#include <xbps_api.h>
#include "compat.h"