From 2dfe4c2a27ccfca8489f2afec35562d132678676 Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 22 May 2023 14:25:08 -0400 Subject: [PATCH] newest VSI C compiler uses different predefined macro recognize __vms predefined compiler macro and ensure that VMS is also defined because that is what NetHack source files currently expect. --- include/global.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/global.h b/include/global.h index c734ccaf7..6c6ade501 100644 --- a/include/global.h +++ b/include/global.h @@ -166,6 +166,11 @@ typedef uchar nhsym; * Please don't change the order. It does matter. */ +#ifdef __vms +#ifndef VMS +#define VMS +#endif +#endif #ifdef VMS #include "vmsconf.h" #endif