From 5e6e184c829b86561932dc0497c198c8cd43a7c9 Mon Sep 17 00:00:00 2001
From: Bart House <bart@barthouse.com>
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