mate: avoid redefining NDEBUG
When building RelWithDebInfo target with MSVC, NDEBUG is automatically defined. Avoid redefining the macro by checking if it already exists. Change-Id: I1720f47cce0df210c2b2dff3b20c218dc2ae7b02 Reviewed-on: https://code.wireshark.org/review/21200 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
cf40e733e9
commit
73e2354e4c
|
@ -28,7 +28,9 @@
|
||||||
* XXX - there's a Lemon bug where this grammar produces a parser that
|
* XXX - there's a Lemon bug where this grammar produces a parser that
|
||||||
* fails assertions; to work around it, we disable assert() failures.
|
* fails assertions; to work around it, we disable assert() failures.
|
||||||
*/
|
*/
|
||||||
|
#ifndef NDEBUG
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "mate.h"
|
#include "mate.h"
|
||||||
#include "mate_grammar.h"
|
#include "mate_grammar.h"
|
||||||
|
|
Loading…
Reference in New Issue