1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

- 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)
This commit is contained in:
unknown
2004-06-15 14:37:45 +02:00
parent fa4b3f0fcc
commit ee7bc435e3

View File

@ -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" {