Commit ee7bc435 authored by unknown's avatar unknown
Browse files

- make sure to define NDEBUG in my_dbug.h, when DBUG_OFF is defined

   (to disable assertions)


include/my_dbug.h:
   - make sure to define NDEBUG, when DBUG_OFF is defined (to disable
     assertions)
parent fa4b3f0f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -16,6 +16,9 @@

#ifndef _dbug_h
#define _dbug_h
#ifdef DBUG_OFF
#define NDEBUG /* for assert.h */
#endif
#include <assert.h>
#ifdef	__cplusplus
extern "C" {