From e4ad3c050977d0715c0c15b0699881e8a2de14f6 Mon Sep 17 00:00:00 2001 From: ramiro Date: Wed, 15 Jul 1998 10:09:51 +0000 Subject: [PATCH] Turn editres off on hpux. Declare missing XmString function on motif 2.x. HP-UX patches from http://hpux.csc.liv.ac.uk/hppd/mozilla/patch.html. git-svn-id: svn://10.0.0.236/trunk@5585 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cmd/xfe/src/Frame.cpp | 4 ++-- mozilla/cmd/xfe/src/context_funcs.cpp | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/mozilla/cmd/xfe/src/Frame.cpp b/mozilla/cmd/xfe/src/Frame.cpp index 130911a52ff..e7900b66be9 100644 --- a/mozilla/cmd/xfe/src/Frame.cpp +++ b/mozilla/cmd/xfe/src/Frame.cpp @@ -83,7 +83,7 @@ #include "xeditor.h" #endif /*EDITOR*/ -#ifndef __sgi +#if !defined(__sgi) && !defined(__hpux) #include /* For editres to work on anything but Irix */ #endif @@ -1328,7 +1328,7 @@ XFE_Frame::createBaseWidgetShell(Widget parent,String name) // This hackery must die too. It will go away as soon as the // XfeFrameShell widget supports XmNtrackEditres -#ifndef __sgi +#if !defined(__sgi) && !defined(__hpux) XtAddEventHandler(shell, (EventMask)0, True, (XtEventHandler)_XEditResCheckMessages, 0); #endif diff --git a/mozilla/cmd/xfe/src/context_funcs.cpp b/mozilla/cmd/xfe/src/context_funcs.cpp index 93b43cc9ba4..ffcdd7216d4 100644 --- a/mozilla/cmd/xfe/src/context_funcs.cpp +++ b/mozilla/cmd/xfe/src/context_funcs.cpp @@ -32,6 +32,10 @@ #include "HTMLView.h" #include +#if XmVersion >= 2000 +extern "C" char * _XmStringGetTextConcat(XmString); +#endif + #ifdef MOZ_MAIL_NEWS #include "MsgFrame.h" #include "addrbk.h"