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>
* XXX - there's a Lemon bug where this grammar produces a parser that
* fails assertions; to work around it, we disable assert() failures.
*/
+#ifndef NDEBUG
#define NDEBUG
+#endif
#include "mate.h"
#include "mate_grammar.h"