Branch: Tag:

2018-01-28

2018-01-28 18:48:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Revert "Remove unused NDEBUG define."

The NDEBUG macro is used by eg assert(3C) in libc.

This reverts commit 1c6b9635a3ad7794035c51282e1222dc746368b3.

520:   #define DO_IF_DEBUG_ELSE(DEBUG, NO_DEBUG) DEBUG   #define DWERR(...) WERR(__VA_ARGS__)    + #undef NDEBUG +    /* Set of macros to simplify passing __FILE__ and __LINE__ to    * functions only in debug mode. */   #define DLOC __FILE__, __LINE__
537:   #define DO_IF_DEBUG(X)   #define DO_IF_DEBUG_ELSE(DEBUG, NO_DEBUG) NO_DEBUG   #define DWERR(...) + #define NDEBUG      #define DLOC   #define COMMA_DLOC