changeset 13508:b64345cf1ee9

(HACK_EDITRES): Don't define if NO_EDITRES is defined.
author Richard M. Stallman <rms@gnu.org>
date Sat, 11 Nov 1995 07:13:56 +0000
parents 9a9f459075af
children eddef35ecc54
files src/xfns.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 */