Commit 96e1f867 authored by Mike Gabriel's avatar Mike Gabriel

pointer typedef in Xdefs.h: Define pointer type for building against older Xlib…

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).
parent ca0f639a
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment