Fix error compiling in debug build, should test #ifndef NDEBUG instead of

This commit is contained in:
Brecht Van Lommel
2012-12-12 16:51:05 +00:00
parent 82cc300ec6
commit f1d3a2e130
2 changed files with 2 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ void EDBM_mesh_load(struct Object *ob);
void EDBM_index_arrays_ensure(struct BMEditMesh *em, const char htype);
void EDBM_index_arrays_init(struct BMEditMesh *em, const char htype);
void EDBM_index_arrays_free(struct BMEditMesh *em);
#ifdef DEBUG
#ifndef NDEBUG
int EDBM_index_arrays_check(struct BMEditMesh *em);
#endif
struct BMVert *EDBM_vert_at_index(struct BMEditMesh *em, int index);

View File

@@ -466,7 +466,7 @@ void EDBM_index_arrays_free(BMEditMesh *em)
}
/* debug check only - no need to optimize */
#ifdef DEBUG
#ifndef NDEBUG
int EDBM_index_arrays_check(BMEditMesh *em)
{
BMIter iter;