Tcl/Tk 8.1 patches

Andrew Dalgleish andrewd@axonet.com.au
Thu May 13 02:37:00 GMT 1999


Thanks, Mumit.

tcl built like a breeze.

The patch w32api-0.1.5.diff creates /tmp/cvs10834kaa instead of zmouse.h
The tk Makefile refers to a directory tcl8.1b3 instead of tcl8.1

Building tk gives some name collisions with windows functions.
I shut them up by adding "#define _WINDOWS_H" to the affected files
(patch below).
Ugly, but it works (because windows.h is bracketed with #ifndef
_WINDOWS_H).

Regards,
Andrew Dalgleish



diff -ruw tk8.1-old/generic/tkCanvBmap.c tk8.1/generic/tkCanvBmap.c
--- tk8.1-old/generic/tkCanvBmap.c	Fri Apr 30 05:37:47 1999
+++ tk8.1/generic/tkCanvBmap.c	Thu May 13 19:17:14 1999
@@ -12,6 +12,8 @@
  * RCS: @(#) $Id: tkCanvBmap.c,v 1.3 1999/04/16 01:51:11 stanton Exp $
  */
 
+#define	_WINDOWS_H
+
 #include <stdio.h>
 #include "tkInt.h"
 #include "tkPort.h"
diff -ruw tk8.1-old/generic/tkCursor.c tk8.1/generic/tkCursor.c
--- tk8.1-old/generic/tkCursor.c	Fri Apr 30 05:37:50 1999
+++ tk8.1/generic/tkCursor.c	Thu May 13 19:18:29 1999
@@ -14,6 +14,8 @@
  * RCS: @(#) $Id: tkCursor.c,v 1.3 1999/04/16 01:51:13 stanton Exp $
  */
 
+#define	_WINDOWS_H
+
 #include "tkPort.h"
 #include "tkInt.h"
 
diff -ruw tk8.1-old/generic/tkFocus.c tk8.1/generic/tkFocus.c
--- tk8.1-old/generic/tkFocus.c	Fri Apr 30 05:37:51 1999
+++ tk8.1/generic/tkFocus.c	Thu May 13 19:19:33 1999
@@ -13,6 +13,8 @@
  * RCS: @(#) $Id: tkFocus.c,v 1.4 1999/04/16 01:51:14 stanton Exp $
  */
 
+#define	_WINDOWS_H
+
 #include "tkInt.h"
 #include "tkPort.h"
 



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list