summaryrefslogtreecommitdiffstats
path: root/xlib/xgc.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-02-10 08:53:32 (GMT)
committerhobbs <hobbs>2000-02-10 08:53:32 (GMT)
commite082656eda18c1458feedf3392c25a00f88b92ef (patch)
tree72f86053eb99a507e93f2e916f09a91deef8a219 /xlib/xgc.c
parent38362e8f5997f57fd93f4fdc48ae5b14e988b7c2 (diff)
downloadtk-e082656eda18c1458feedf3392c25a00f88b92ef.zip
tk-e082656eda18c1458feedf3392c25a00f88b92ef.tar.gz
tk-e082656eda18c1458feedf3392c25a00f88b92ef.tar.bz2
* xlib/xgc.c: #def'd out XDrawSegments for the Mac, and added
some extra include info for the Mac
Diffstat (limited to 'xlib/xgc.c')
-rw-r--r--xlib/xgc.c7
1 files changed, 6 insertions, 1 deletions
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 <tkInt.h>
#ifdef MAC_TCL
# include <Xlib.h>
+# include <X.h>
+# define Cursor XCursor
+# define Region XRegion
#else
# include <X11/Xlib.h>
#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)