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
+3 -2
View File
@@ -16,8 +16,6 @@
#define SHORT_FILENAMES
#endif
#define X11_BUILD
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Shell.h>
@@ -48,7 +46,10 @@
#undef SHORT_FILENAMES /* hack.h will reset via global.h if necessary */
#endif
#define X11_BUILD
#include "hack.h"
#undef X11_BUILD
#include "winX.h"
#include "dlb.h"
#include "xwindow.h"