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.
This commit is contained in:
nhmall
2023-05-22 14:25:08 -04:00
parent 13a5d978f9
commit 2dfe4c2a27

View File

@@ -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