diff options
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/programs/Xserver/include/gc.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/include/gc.h b/nx-X11/programs/Xserver/include/gc.h index 1969e5cd7..acac5e3e8 100644 --- a/nx-X11/programs/Xserver/include/gc.h +++ b/nx-X11/programs/Xserver/include/gc.h @@ -52,10 +52,16 @@ SOFTWARE. #include <nx-X11/X.h> /* for GContext, Mask */ +/* FIXME: for building this code against Xlib versions older than apprx. 04/2014 + * we still have to define the pointer type via Xdefs.h. + * + * The nx-libs code itself does not require the pointer definition. + * #ifndef _XTYPEDEF_POINTER -/* Don't let Xdefs.h define 'pointer' */ +// Don't let Xdefs.h define 'pointer' #define _XTYPEDEF_POINTER 1 -#endif /* _XTYPEDEF_POINTER */ +#endif // _XTYPEDEF_POINTER +*/ #include <nx-X11/Xdefs.h> /* for Bool */ #include <nx-X11/Xproto.h> |