From: Jouk Jansen Date: Tue, 26 Jan 2010 14:24:06 +0000 (+0000) Subject: Fixes for compilation on OpenVMS platforms X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/06b4070d7c182ac3a33db48c0e1a6a3c6e3ee73c Fixes for compilation on OpenVMS platforms git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/setup.h_vms b/setup.h_vms index 18d982cc5b..4e227163b4 100644 --- a/setup.h_vms +++ b/setup.h_vms @@ -3,7 +3,7 @@ * Template for the set.h file for VMS * * Created from setup.h_in * * Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * - * Date : 23 October 2009 * + * Date : 26 January 2010 * * * *****************************************************************************/ @@ -340,9 +340,7 @@ typedef pid_t GPid; #define wxUSE_PROPGRID 1 -#ifndef wxUSE_GRAPHICS_CONTEXT #define wxUSE_GRAPHICS_CONTEXT 0 -#endif #define wxUSE_CONTROLS 1 @@ -1302,6 +1300,10 @@ typedef pid_t GPid; #define wxHAS_RAW_BITMAP 1 #endif +#ifdef VMS_GTK2 +#define GSEAL(x) x +#endif + #define __VMS_BROKEN_TEMPLATES #include diff --git a/src/gtk/treeentry_gtk.c b/src/gtk/treeentry_gtk.c index 610772cb0e..625a844608 100644 --- a/src/gtk/treeentry_gtk.c +++ b/src/gtk/treeentry_gtk.c @@ -11,6 +11,7 @@ #include typedef pid_t GPid; #define G_GNUC_INTERNAL +#define GSEAL(x) x #endif #include "wx/gtk/treeentry_gtk.h"