delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/13/05:52:23

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <91A8FD196436D1118EC2006008186C9617DA06@server1.axonet.com.au>
From: Andrew Dalgleish <andrewd AT axonet DOT com DOT au>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: RE: Tcl/Tk 8.1 patches
Date: Thu, 13 May 1999 19:37:43 +1000
X-Priority: 3
X-Mailer: Internet Mail Service (5.0.1458.49)

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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019