]> granicus.if.org Git - nethack/commitdiff
define nhassert if not defined by port.
authorBart House <bart@barthouse.com>
Fri, 23 Nov 2018 19:27:40 +0000 (11:27 -0800)
committerBart House <bart@barthouse.com>
Fri, 23 Nov 2018 19:27:40 +0000 (11:27 -0800)
include/global.h

index 154c49ebeba2e01fe19da5d89f84b4f89b928aa1..c1f17165169146c8571f84e820de5ed74fe186fe 100644 (file)
@@ -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 */