summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-11-11 07:13:56 +0000
committerRichard M. Stallman <rms@gnu.org>1995-11-11 07:13:56 +0000
commit2298c221ad53ce3d537464ed01884c43908d8d32 (patch)
tree3ee618de9764235d1b2ba4c69546cc6d7e00db4d /src/xfns.c
parent4992381519dd1be8d033d6018049f957445668fc (diff)
downloademacs-2298c221ad53ce3d537464ed01884c43908d8d32.tar.gz
(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 3c85799e800..e55dc0bec44 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 */