From: Bart House Date: Fri, 23 Nov 2018 19:27:40 +0000 (-0800) Subject: define nhassert if not defined by port. X-Git-Tag: NetHack-3.6.2_Released~161^2~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cff9fb441a59d06134b731c57d84fe9c1b2143a0;p=nethack define nhassert if not defined by port. --- diff --git a/include/global.h b/include/global.h index 154c49ebe..c1f171651 100644 --- a/include/global.h +++ b/include/global.h @@ -364,5 +364,9 @@ struct savefile_info { #define nethack_enter(argc, argv) ((void) 0) #endif +/* Supply nhassert macro if not supplied by port */ +#ifndef nhassert +#define nhassert(expression) ((void)0) +#endif #endif /* GLOBAL_H */