From cff9fb441a59d06134b731c57d84fe9c1b2143a0 Mon Sep 17 00:00:00 2001 From: Bart House Date: Fri, 23 Nov 2018 11:27:40 -0800 Subject: [PATCH] define nhassert if not defined by port. --- include/global.h | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.40.0