aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfns.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1995-11-11 07:13:56 +0000
committerRichard M. Stallman <[email protected]>1995-11-11 07:13:56 +0000
commit3b882b1dabcb67f914cb4d5d1bfbf694a87ce0b3 (patch)
tree666a0a44d66cf56562329dfe908b0c69df046e3a /src/xfns.c
parent0fdff6bbc25853de0b683ca3234435091a056682 (diff)
(HACK_EDITRES): Don't define if NO_EDITRES is defined.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 3c85799e80..e55dc0bec4 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -70,8 +70,9 @@ extern void abort ();
#include "../lwlib/lwlib.h"
-/* Do the EDITRES protocol if running X11R5 */
-#if (XtSpecificationRelease >= 5)
+/* Do the EDITRES protocol if running X11R5
+ Exception: HP-UX (at least version A.09.05) has X11R5 without EditRes */
+#if (XtSpecificationRelease >= 5) && !defined(NO_EDITRES)
#define HACK_EDITRES
extern void _XEditResCheckMessages ();
#endif /* R5 + Athena */