From e082656eda18c1458feedf3392c25a00f88b92ef Mon Sep 17 00:00:00 2001 From: hobbs Date: Thu, 10 Feb 2000 08:53:32 +0000 Subject: * xlib/xgc.c: #def'd out XDrawSegments for the Mac, and added some extra include info for the Mac --- xlib/xgc.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xlib/xgc.c b/xlib/xgc.c index d50acea..9807e28 100644 --- a/xlib/xgc.c +++ b/xlib/xgc.c @@ -9,13 +9,16 @@ * 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.4 1999/12/14 06:55:39 hobbs Exp $ + * RCS: @(#) $Id: xgc.c,v 1.5 2000/02/10 08:53:32 hobbs Exp $ */ #include #ifdef MAC_TCL # include +# include +# define Cursor XCursor +# define Region XRegion #else # include #endif @@ -435,6 +438,7 @@ XDrawPoints(display, d, gc, points, npoints, mode) } } +#ifndef MAC_TCL void XDrawSegments(display, d, gc, segments, nsegments) Display* display; @@ -444,6 +448,7 @@ XDrawSegments(display, d, gc, segments, nsegments) int nsegments; { } +#endif char * XFetchBuffer(display, nbytes_return, buffer) -- cgit v0.12