undefine X11_BUILD after hack.h or config.h

So as not to complicate any onefile efforts by leaving it defined.
This commit is contained in:
nhmall
2023-02-01 14:04:20 -05:00
parent d4a111083a
commit 3214335bb5
5 changed files with 10 additions and 5 deletions
+1
View File
@@ -80,6 +80,7 @@
#define X11_BUILD
#include "config.h" /* #define for const for non __STDC__ compilers */
#undef X11_BUILD
#include "lint.h" /* for nethack's nhStr() macro */
#include "winX.h" /* to make sure protoypes match corresponding functions */