aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/include
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-12-28 15:53:09 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-12-28 15:53:09 +0100
commit96e1f867d8cbc76d1b2ed493ec05ef5f5ec48494 (patch)
treedea1d6ad20a462a65718affde750d2a51bfa6418 /nx-X11/programs/Xserver/include
parentca0f639a4ef9ad605f0e62577c84f2be73807ff3 (diff)
downloadnx-libs-96e1f867d8cbc76d1b2ed493ec05ef5f5ec48494.tar.gz
nx-libs-96e1f867d8cbc76d1b2ed493ec05ef5f5ec48494.tar.bz2
nx-libs-96e1f867d8cbc76d1b2ed493ec05ef5f5ec48494.zip
pointer typedef in Xdefs.h: Define pointer type for building against older Xlib versions that still expect the pointer type to exist (e.g. Ubuntu <= 14.04, Debian <= 7.0).
Diffstat (limited to 'nx-X11/programs/Xserver/include')
-rw-r--r--nx-X11/programs/Xserver/include/gc.h10
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>