vms_x_fix.h revision b5b5c52034840dbfcd3f76a9e7cde8b379e7d517
1/***************************************************************************
2 *                                                                         *
3 * Repair definitions of Xlib when compileing with /name=(as_is) on VMS    *
4 * You'll need the PORTING_LIBRARY (get it from Compaq) installed          *
5 *                                                                         *
6 * Author : Jouk Jansen (joukj@hrem.stm.tudelft.nl)                        *
7 *                                                                         *
8 * Last revision : 22 August 2000                                          *
9 *                                                                         *
10 ***************************************************************************/
11
12#ifndef VMS_X_FIX
13#define VMS_X_FIX
14
15#ifdef __cplusplus
16#define VMS_BEGIN_C_PLUS_PLUS extern "C" {
17#define VMS_END_C_PLUS_PLUS }
18#else
19#define VMS_BEGIN_C_PLUS_PLUS
20#define VMS_END_C_PLUS_PLUS
21#endif
22
23#include <motif_redefines.h>
24
25#define XQueryFont XQUERYFONT
26#define XSetPlaneMask XSETPLANEMASK
27#define XChangeKeyboardControl XCHANGEKEYBOARDCONTROL
28#define XDestroySubwindows XDESTROYSUBWINDOWS
29#define XFreeDeviceList XFREEDEVICELIST
30#define XFreeDeviceState XFREEDEVICESTATE
31#define XGetExtensionVersion XGETEXTENSIONVERSION
32#define XGetRGBColormaps XGETRGBCOLORMAPS
33#define XIconifyWindow XICONIFYWINDOW
34#define XInstallColormap XINSTALLCOLORMAP
35#define XListInputDevices XLISTINPUTDEVICES
36#define XLookupKeysym XLOOKUPKEYSYM
37#define XOpenDevice XOPENDEVICE
38#define XQueryDeviceState XQUERYDEVICESTATE
39#define XSelectExtensionEvent XSELECTEXTENSIONEVENT
40#define XWarpPointer XWARPPOINTER
41#define XmuLookupStandardColormap XMULOOKUPSTANDARDCOLORMAP
42
43#endif
44