avoid some issues with c++ and X11
This commit is contained in:
@@ -77,7 +77,9 @@
|
||||
#undef PRESERVE_NO_SYSV
|
||||
#endif
|
||||
|
||||
#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 */
|
||||
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
#define SHORT_FILENAMES
|
||||
#endif
|
||||
|
||||
#define X11_BUILD
|
||||
|
||||
#include <X11/Intrinsic.h>
|
||||
#include <X11/StringDefs.h>
|
||||
#include <X11/Shell.h>
|
||||
|
||||
@@ -33,6 +33,8 @@
|
||||
#undef PRESERVE_NO_SYSV
|
||||
#endif
|
||||
|
||||
#define X11_BUILD
|
||||
|
||||
#include "hack.h"
|
||||
#include "winX.h"
|
||||
|
||||
|
||||
@@ -34,6 +34,8 @@
|
||||
#undef PRESERVE_NO_SYSV
|
||||
#endif
|
||||
|
||||
#define X11_BUILD
|
||||
|
||||
#include "hack.h"
|
||||
#include "func_tab.h"
|
||||
#include "winX.h"
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#undef PRESERVE_NO_SYSV
|
||||
#endif
|
||||
|
||||
#define X11_BUILD
|
||||
|
||||
#include "hack.h"
|
||||
#include "winX.h"
|
||||
#include "xwindow.h"
|
||||
|
||||
Reference in New Issue
Block a user