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:
@ -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" {
|
||||
|
Reference in New Issue
Block a user