# HG changeset patch # User Richard M. Stallman # Date 816074036 0 # Node ID b64345cf1ee9a1d0772d308730b19d0d1d3eeaf4 # Parent 9a9f459075af14aedae5d791e9d48d3132a361f0 (HACK_EDITRES): Don't define if NO_EDITRES is defined. diff -r 9a9f459075af -r b64345cf1ee9 src/xfns.c --- a/src/xfns.c Sat Nov 11 07:13:06 1995 +0000 +++ b/src/xfns.c Sat Nov 11 07:13:56 1995 +0000 @@ -70,8 +70,9 @@ #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 */