diff options
Diffstat (limited to 'xlib/xgc.c')
-rw-r--r-- | xlib/xgc.c | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -9,18 +9,25 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: xgc.c,v 1.5 2000/02/10 08:53:32 hobbs Exp $ + * RCS: @(#) $Id: xgc.c,v 1.6 2002/08/31 06:12:31 das Exp $ */ #include <tkInt.h> +#if !defined(MAC_TCL) && !defined(MAC_OSX_TK) +# include <X11/Xlib.h> +#endif #ifdef MAC_TCL # include <Xlib.h> # include <X.h> # define Cursor XCursor # define Region XRegion -#else +#endif +#ifdef MAC_OSX_TK # include <X11/Xlib.h> +# include <X11/X.h> +# define Cursor XCursor +# define Region XRegion #endif @@ -438,7 +445,7 @@ XDrawPoints(display, d, gc, points, npoints, mode) } } -#ifndef MAC_TCL +#if !defined(MAC_TCL) && !defined(MAC_OSX_TK) void XDrawSegments(display, d, gc, segments, nsegments) Display* display; |