From 3b882b1dabcb67f914cb4d5d1bfbf694a87ce0b3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 11 Nov 1995 07:13:56 +0000 Subject: [PATCH] (HACK_EDITRES): Don't define if NO_EDITRES is defined. --- src/xfns.c | 5 +++-- 1 file 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 */ -- 2.39.2