summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorredman <redman>1999-03-06 02:23:16 (GMT)
committerredman <redman>1999-03-06 02:23:16 (GMT)
commite70550a22b9cd29d9438f95c9c7d4c24d993bfdc (patch)
tree8e5682bdc3accb869e3c43dc481d15cc3c094e88 /generic
parent6b661c846e57112bf72a9df53be4f9ebc0d7afdb (diff)
downloadtk-e70550a22b9cd29d9438f95c9c7d4c24d993bfdc.zip
tk-e70550a22b9cd29d9438f95c9c7d4c24d993bfdc.tar.gz
tk-e70550a22b9cd29d9438f95c9c7d4c24d993bfdc.tar.bz2
Modified stubs code to work on Unix. Modified makefile and configure
to add stub support and build against libtclstub.a.
Diffstat (limited to 'generic')
-rw-r--r--generic/tkCmds.c8
-rw-r--r--generic/tkGrab.c6
-rw-r--r--generic/tkIntPlatStubs.c3
-rw-r--r--generic/tkStubInit.c7
-rw-r--r--generic/tkWindow.c6
5 files changed, 24 insertions, 6 deletions
diff --git a/generic/tkCmds.c b/generic/tkCmds.c
index a6b7fb3..438821c 100644
--- a/generic/tkCmds.c
+++ b/generic/tkCmds.c
@@ -11,15 +11,19 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCmds.c,v 1.4.4.1 1999/03/06 00:08:02 redman Exp $
+ * RCS: @(#) $Id: tkCmds.c,v 1.4.4.2 1999/03/06 02:23:16 redman Exp $
*/
#include "tkPort.h"
#include "tkInt.h"
#include <errno.h>
-#ifdef __WIN32__
+#if defined(__WIN32__)
#include "tkWinInt.h"
+#elif defined(MAC_TCL)
+#include "tkMacInt.h"
+#else
+#include "tkUnixInt.h"
#endif
/*
diff --git a/generic/tkGrab.c b/generic/tkGrab.c
index bbb4f65..400a2d0 100644
--- a/generic/tkGrab.c
+++ b/generic/tkGrab.c
@@ -9,12 +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: tkGrab.c,v 1.2 1998/09/14 18:23:11 stanton Exp $
+ * RCS: @(#) $Id: tkGrab.c,v 1.2.4.1 1999/03/06 02:23:16 redman Exp $
*/
#include "tkPort.h"
#include "tkInt.h"
+#if !defined(__WIN32__) && !defined(MAC_TCL)
+#include "tkUnixInt.h"
+#endif
+
/*
* The grab state machine has four states: ungrabbed, button pressed,
* grabbed, and button pressed while grabbed. In addition, there are
diff --git a/generic/tkIntPlatStubs.c b/generic/tkIntPlatStubs.c
index 58a2339..d65ddd7 100644
--- a/generic/tkIntPlatStubs.c
+++ b/generic/tkIntPlatStubs.c
@@ -7,11 +7,12 @@
* Copyright (c) 1998-1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tkIntPlatStubs.c,v 1.1.2.2 1999/03/06 01:54:59 redman Exp $
+ * RCS: @(#) $Id: tkIntPlatStubs.c,v 1.1.2.3 1999/03/06 02:23:17 redman Exp $
*/
#include "tkInt.h"
#include "tkPort.h"
+#include "tkIntPlatDecls.h"
/*
* WARNING: This file is automatically generated by the tools/genStubs.tcl
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c
index 99fd46f..a6e8c18 100644
--- a/generic/tkStubInit.c
+++ b/generic/tkStubInit.c
@@ -8,11 +8,16 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkStubInit.c,v 1.1.2.2 1999/03/06 01:54:59 redman Exp $
+ * RCS: @(#) $Id: tkStubInit.c,v 1.1.2.3 1999/03/06 02:23:17 redman Exp $
*/
#include "tkInt.h"
#include "tkPort.h"
+#include "tkDecls.h"
+#include "tkPlatDecls.h"
+#include "tkIntDecls.h"
+#include "tkIntPlatDecls.h"
+#include "tkIntXlibDecls.h"
/*
* Remove macros that will interfere with the definitions below.
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index 64b06a8..aeb948b 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -12,12 +12,16 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWindow.c,v 1.4 1998/09/30 19:01:20 rjohnson Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.4.4.1 1999/03/06 02:23:17 redman Exp $
*/
#include "tkPort.h"
#include "tkInt.h"
+#if !defined(__WIN32__) && !defined(MAC_TCL)
+#include "tkUnixInt.h"
+#endif
+
/*
* Count of number of main windows currently open in this process.
*/