Apply patch #5225, assertions.
[pspp-builds.git] / src / libpspp / array.c
index 945874cf1d2993395427aea102e0175a6f08dff7..f4fca27e7d5920d16694f30e1bfffe5d68949c97 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 #include "alloc.h"
+#include <libpspp/assertion.h>
 
-/* Some of the assertions in this file are very expensive.  We
-   don't use them by default. */
-#ifdef EXTRA_CHECKS
-#define expensive_assert(X) assert(X)
-#else
-#define expensive_assert(X) ((void) 0)
-#endif
 #include "message.h"
 \f
 /* Finds an element in ARRAY, which contains COUNT elements of