head	1.18;
access;
symbols
	core-8-5-9:1.10.4.1
	core-8-5-8:1.10
	macosx-cocoa-merge:1.12
	macosx-cocoa-premerge:1.12
	macosx-carbon-freeze:1.12
	core-8-5-7:1.10
	core-8-5-6:1.10
	core-8-6-b1:1.12
	core-8-6-a3:1.12
	core-8-5-5:1.10
	core-8-6-a2:1.11
	core-8-5-4:1.10
	core-8-5-3:1.10
	core-8-6-a1:1.10
	core-8-4-19:1.9
	core-8-5-branch:1.10.0.4
	core-8-5-2:1.10
	core-8-4-18:1.9
	core-8-5-1:1.10
	core-8-4-17:1.9
	core-8-5-0:1.10
	core-8-5-b3:1.10
	core-8-5-b2:1.10
	core-8-4-16:1.9
	core-8-5-b1:1.10
	core-stablilizer-merge:1.10
	core-stabilizer-branch:1.10.0.2
	core-stabilizer-merge:1.10
	core-8-4-15:1.9
	core-8-5-a6:1.10
	core-8-5-a5:1.10
	core-8-4-14:1.9
	core-8-5-a4:1.10
	core-8-4-13:1.9
	core-8-4-12:1.9
	core-8-4-11:1.9
	core-8-5-a3:1.9
	core-8-4-10:1.9
	core-8-4-9-branch:1.9.0.6
	core-8-5-a2:1.9
	core-8-4-9:1.9
	core-8-4-8:1.9
	core-8-4-7:1.9
	core-8-5-a1:1.9
	core-8-4-6:1.9
	core-8-4-5:1.9
	mistachkin-dev-branch:1.9.0.4
	core-8-4-4:1.9
	core-8-4-3:1.9
	core-8-4-branch:1.9.0.2
	core-8-4-2:1.9
	core-8-4-1:1.9
	core-8-3-5:1.7.2.1
	core-8-4-0:1.7
	macosx-8-4-merge-2002-08-31-trunk:1.7
	macosx-8-4-premerge-2002-08-31-branch:1.7
	macosx-8-4-premerge-2002-08-31-trunk:1.7
	macosx-8-4-merge-2002-08-30-branch:1.7
	macosx-8-4-merge-2002-08-30-trunk:1.7
	macosx-8-4-merge-2002-08-20-branch:1.7
	macosx-8-4-merge-2002-08-20-trunk:1.7
	core-8-4-b2:1.7
	core-8-4-b1:1.7
	macosx-premerge-6-9-02:1.7
	core-8-4-a4:1.7
	core-8-3-4:1.7
	macosx-8-4-branch:1.7.0.8
	macosx-8-4-branchpoint:1.7
	core-8-4-a3:1.7
	core-8-3-3:1.7
	dgp-privates-into-namespace:1.7.0.6
	tclpro-1-5-0:1.7
	core-8-4-win-speedup:1.7.0.4
	core-8-4-a2:1.7
	tclpro-1-4-1:1.7
	tclpro-1-4-0:1.7
	core-8-3-2:1.7
	ajuba-ajuba2-2-1-base:1.7
	ajuba-ajuba2-2-0:1.7
	core-8-4-a1:1.7
	core-8-3-1-branch:1.7.0.2
	core-8-3-1:1.7
	scriptics-sc-2-0-b5:1.7
	scriptics-sc-2-0-fixed:1.7
	scriptics-sc-2-0-b2:1.7
	scriptics-sc-2-0-b1:1.7
	core-8-3-0:1.7
	core-8-3-b2:1.7
	core-8-3-b1:1.7
	scriptics-sc-1-1:1.6
	scriptics-sc-1-1-b1:1.6
	core-8-2-3:1.6
	scriptics-sc-1-1-branch:1.6.0.8
	scriptics-sc-1-1-base:1.6
	scriptics-sc-1-0:1.6
	scriptics-sc-1-0-branch:1.6.0.6
	scriptics-sc-1-0-base:1.6
	core-8-2-2:1.6
	core-8-2-1:1.6
	scriptics-bc-1-0-b1:1.6
	core-8-2-1-branch:1.6.0.4
	scriptics-tclpro-1-3-0:1.6
	core-8-2-0:1.6
	core-8-2-b3-branch:1.6.0.2
	core-8-2-b3-base:1.6
	scriptics-tclpro-1-3-b4:1.6
	core-8-2-b2:1.6
	scriptics-tclpro-1-3-b3:1.5
	core-8-2-b1:1.5
	scriptics-tclpro-1-3-b2:1.5
	merge-to-mainline-5/21/99:1.5
	scriptics-tclpro-1-3-b2-branch:1.5.0.2
	core-8-1-1:1.5
	scriptics-tclpro-1-3-b1:1.5
	core-8-1-1-base:1.5
	core-8-1-0:1.5
	merge-to-mainline-4-29-99:1.5
	merge-to-mainline-4-23-99:1.5
	core-8-1-branch-old:1.1.0.4
	core-8-0-6-branch:1.4.0.2
	core-8-0-6-base:1.4
	core-8-0-5:1.3
	core-8-1-b3:1.1.4.3
	core-8-1-b2:1.1.4.3
	dev-8-1-stubs-branch:1.1.4.2.0.2
	dev-stubs-branch:1.3.0.4
	scriptics-tclpro-1-2:1.3
	scriptics-tclpro-1-2-b2:1.3
	core-8-1-merge-2/10/99:1.3
	core-8-0-5-branch:1.3.0.2
	core-8-0-5-base:1.3
	scriptics-tclpro-1-2-b1:1.3
	scriptics-tclpro-1-2-a1:1.3
	core-8-1-b1:1.1.4.2
	core-8-0-4:1.3
	core-8-1-a2:1.1.4.1
	core-8-0-2:1.1
	core-8-0-3:1.2;
locks; strict;
comment	@ * @;


1.18
date	2010.11.16.15.07.08;	author nijtmans;	state Exp;
branches;
next	1.17;

1.17
date	2010.09.10.08.59.26;	author nijtmans;	state Exp;
branches;
next	1.16;

1.16
date	2010.04.20.08.17.33;	author nijtmans;	state Exp;
branches;
next	1.15;

1.15
date	2010.04.13.13.46.01;	author nijtmans;	state Exp;
branches;
next	1.14;

1.14
date	2010.04.08.14.06.20;	author nijtmans;	state Exp;
branches;
next	1.13;

1.13
date	2010.01.22.14.17.53;	author nijtmans;	state Exp;
branches;
next	1.12;

1.12
date	2008.08.28.18.13.36;	author dgp;	state Exp;
branches;
next	1.11;

1.11
date	2008.08.19.15.52.14;	author georgeps;	state Exp;
branches;
next	1.10;

1.10
date	2005.09.28.18.31.57;	author dgp;	state Exp;
branches
	1.10.4.1;
next	1.9;

1.9
date	2002.10.19.02.10.20;	author hobbs;	state Exp;
branches;
next	1.8;

1.8
date	2002.09.27.00.48.06;	author hobbs;	state Exp;
branches;
next	1.7;

1.7
date	99.11.19.22.00.19;	author hobbs;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	99.07.22.21.51.25;	author redman;	state Exp;
branches;
next	1.5;

1.5
date	99.04.16.01.51.53;	author stanton;	state Exp;
branches;
next	1.4;

1.4
date	99.03.10.07.04.46;	author stanton;	state Exp;
branches;
next	1.3;

1.3
date	98.09.30.19.01.22;	author rjohnson;	state Exp;
branches
	1.3.4.1;
next	1.2;

1.2
date	98.09.14.18.24.01;	author stanton;	state Exp;
branches;
next	1.1;

1.1
date	98.04.01.10.00.34;	author rjohnson;	state Exp;
branches
	1.1.4.1;
next	;

1.1.4.1
date	98.09.29.00.26.09;	author stanton;	state Exp;
branches;
next	1.1.4.2;

1.1.4.2
date	98.09.30.02.19.37;	author stanton;	state Exp;
branches
	1.1.4.2.2.1;
next	1.1.4.3;

1.1.4.3
date	99.03.10.07.13.52;	author stanton;	state Exp;
branches;
next	;

1.1.4.2.2.1
date	99.03.09.17.50.39;	author redman;	state Exp;
branches;
next	;

1.3.4.1
date	99.03.06.00.07.09;	author redman;	state Exp;
branches;
next	1.3.4.2;

1.3.4.2
date	99.03.06.23.07.53;	author stanton;	state Exp;
branches;
next	;

1.7.2.1
date	2002.10.18.19.32.07;	author hobbs;	state Exp;
branches;
next	;

1.10.4.1
date	2010.04.19.08.23.31;	author nijtmans;	state Exp;
branches;
next	1.10.4.2;

1.10.4.2
date	2010.11.16.15.06.07;	author nijtmans;	state Exp;
branches;
next	;


desc
@@


1.18
log
@[Bug #3110161]: Extensions using TCHAR don't compile on VS2005 SP1
@
text
@/*
 * tkWinPort.h --
 *
 *	This header file handles porting issues that occur because of
 *	differences between Windows and Unix. It should be the only
 *	file that contains #ifdefs to handle different flavors of OS.
 *
 * Copyright (c) 1995-1996 Sun Microsystems, Inc.
 *
 * See the file "license.terms" for information on usage and redistribution
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
 *
 * RCS: @@(#) $Id: tkWinPort.h,v 1.17 2010/09/10 08:59:26 nijtmans Exp $
 */

#ifndef _WINPORT
#define _WINPORT

/*
 *---------------------------------------------------------------------------
 * The following sets of #includes and #ifdefs are required to get Tcl to
 * compile under the windows compilers.
 *---------------------------------------------------------------------------
 */

#include <wchar.h>
#include <io.h>
#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
#include <malloc.h>
#include <ctype.h>
#include <math.h>
#include <string.h>
#include <limits.h>

/*
 * Need to block out this include for building extensions with MetroWerks
 * compiler for Win32.
 */

#ifndef __MWERKS__
#include <sys/stat.h>
#endif

#include <time.h>

#ifdef _MSC_VER
#   ifndef hypot
#	define hypot _hypot
#   endif
#endif /* _MSC_VER */

/*
 *  Pull in the typedef of TCHAR for windows.
 */
#include <tchar.h>
#ifndef _TCHAR_DEFINED
    /* Borland seems to forget to set this. */
    typedef _TCHAR TCHAR;
#   define _TCHAR_DEFINED
#endif
#if defined(_MSC_VER) && defined(__STDC__)
    /* VS2005 SP1 misses this. See [Bug #3110161] */
    typedef _TCHAR TCHAR;
#endif

#include <X11/Xlib.h>
#include <X11/cursorfont.h>
#include <X11/keysym.h>
#include <X11/Xatom.h>
#include <X11/Xutil.h>

#ifdef __CYGWIN__
#   ifndef _vsnprintf
#	define _vsnprintf vsnprintf
#   endif
#   ifndef _wcsicmp
#	define _wcsicmp wcscasecmp
#   endif
#else
#   ifndef strncasecmp
#	define strncasecmp strnicmp
#   endif
#   ifndef strcasecmp
#	define strcasecmp stricmp
#   endif
#endif

#define NBBY 8

#ifndef OPEN_MAX
#define OPEN_MAX 32
#endif

/*
 * The following define causes Tk to use its internal keysym hash table
 */

#define REDO_KEYSYM_LOOKUP

/*
 * The following macro checks to see whether there is buffered
 * input data available for a stdio FILE.
 */

#ifdef _MSC_VER
#    define TK_READ_DATA_PENDING(f) ((f)->_cnt > 0)
#else /* _MSC_VER */
#    define TK_READ_DATA_PENDING(f) ((f)->level > 0)
#endif /* _MSC_VER */

/*
 * The following stubs implement various calls that don't do anything
 * under Windows.
 */

#define TkpCmapStressed(tkwin,colormap) (0)
#define XFlush(display)
#define XGrabServer(display)
#define XUngrabServer(display)
#define TkpSync(display)

/*
 * The following functions are implemented as macros under Windows.
 */

#define XFree(data) {if ((data) != NULL) ckfree((char *) (data));}
#define XNoOp(display) {display->request++;}
#define XSynchronize(display, bool) {display->request++;}
#define XSync(display, bool) {display->request++;}
#define XVisualIDFromVisual(visual) (visual->visualid)

/*
 * The following Tk functions are implemented as macros under Windows.
 */

#define TkpGetPixel(p) (((((p)->red >> 8) & 0xff) \
	| ((p)->green & 0xff00) | (((p)->blue << 8) & 0xff0000)) | 0x20000000)

/*
 * These calls implement native bitmaps which are not currently 
 * supported under Windows.  The macros eliminate the calls.
 */

#define TkpDefineNativeBitmaps()
#define TkpCreateNativeBitmap(display, source) None
#define TkpGetNativeAppBitmap(display, name, w, h) None

#endif /* _WINPORT */
@


1.17
log
@Make compilable with -DUNICODE, or mark files with a TODO which are not done yet.
tkWinPort.h:  mingw/cygwin fixes: <tchar.h> should always be included here.
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.16 2010/04/20 08:17:33 nijtmans Exp $
d63 4
@


1.16
log
@Make sure that tkWinPort.h is always included
before tcl.h, otherwise the fallback for TCHAR
might go off before the inclusion of <tchar.h>
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.15 2010/04/13 13:46:01 nijtmans Exp $
d57 5
a61 7
#if !defined(_TCHAR_DEFINED)
#   include <tchar.h>
#   ifndef _TCHAR_DEFINED
	/* Borland seems to forget to set this. */
	typedef _TCHAR TCHAR;
#	define _TCHAR_DEFINED
#   endif
@


1.15
log
@Fix [Patch 2986105]: conditionally defining strcasecmp/strncasecmp
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.14 2010/04/08 14:06:20 nijtmans Exp $
a18 6
#include <X11/Xlib.h>
#include <X11/cursorfont.h>
#include <X11/keysym.h>
#include <X11/Xatom.h>
#include <X11/Xutil.h>

d66 6
@


1.14
log
@Add <wchar.h> to tkWinPort.h, and
remove some earlier CYGWIN-related
hacks which then are no longer necessary.
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.13 2010/01/22 14:17:53 nijtmans Exp $
d25 7
d55 3
a57 1
#    define hypot _hypot
d73 13
a85 2
#define _vsnprintf vsnprintf
#define _wcsicmp wcscasecmp
a87 3
#define strncasecmp strnicmp
#define strcasecmp stricmp

@


1.13
log
@fix more gcc warnings: missing initializer
Eliminate use of __argc and __argv for CYGWIN
Make cygwin configuration error into
 a warning: CYGWIN compilation works
although there still are test failures.
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.12 2008/08/28 18:13:36 dgp Exp $
d25 5
a30 1
#include <errno.h>
a32 1
#include <stdlib.h>
a34 7
#include <fcntl.h>
#ifdef __CYGWIN__
#   include <unistd.h>
#   include <wchar.h>
#else
#   include <io.h>
#endif
a45 5
#ifdef __CYGWIN__
#    define _T(x) L##x
#else
#    include <tchar.h>
#endif
d51 12
d64 3
a66 4
#   ifdef _UNICODE
#       define _tcsrchr wcsrchr
#   else
#       define _tcsrchr strrchr
d68 2
a69 6
#   endif
#else
#    define wcscasecmp _wcsicmp
#    define strncasecmp strnicmp
#    define strcasecmp stricmp
#endif
@


1.12
log
@        * generic/tkImgPhoto.c: Changed TclStack* calls to ck* calls so that
        we don't create new dependencies on Tcl internals.

        * unix/tkUnixPort.h:    Removed #include of tclInt.h that has been
        * win/tkWinPort.h:      disabled for three years.  If we needed this
        we'd have noticed by now.
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.11 2008/08/19 15:52:14 georgeps Exp $
d33 6
a38 1
#include <io.h>
d60 9
a68 1
#ifndef __GNUC__
a132 9
/*
 * Define timezone for gettimeofday.
 */

struct timezone {
    int tz_minuteswest;
    int tz_dsttime;
};

@


1.11
log
@        After some discussion with Joe English and subsequently the
        X.org developers (Keith Packard in particular), it was discovered
        that Tk is doing management of XIDs that it shouldn't need to do.
        The very common XC-MISC extension which has come with every version
        of X for the last 15 years is used with Xlib now, to retrieve the
        information about the used/unused XIDs.

        The public Tk_FreeXId is now a no-op.

        Joe English reviewed the patch, and said "please commit."
        The patch is associated with the bug tracker id: 2039720

        generic/tkError.c: Remove the usage of TkpWindowWasRecentlyDeleted.
        generic/tkInt.decls: Update the declarations for the now unused
                internalstubs.
        generic/tkIntDecls.h: Regenerated based on tkInt.decls.
        generic/tkIntPlatDecls.h: Regenerated based on tkInt.decls.
        generic/tkStubInit.c
        generic/tkWindow.c: Remove the calls to TkInitXId, and TkFreeWindowId.

        macosx/tkMaxOSXPort.h: Remove TkFreeWindowId and TkInitXId macro
                definitions.
        macosx/tkMacOSXXStubs.c: Remove the no-op
                TkpWindowWasRecentlyDeleted.

        unix/tkUnixEvent.c: Remove call to TkFreeXId.
        unix/tkUnixXId.c: Remove a lot of unnecessary code (see above).

        win/tkWinPort.h: Remove TkFreeWindowId and TkInitXId.
        win/tkWinWindow.c: Remove TkpWindowWasRecentlyDeleted.
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.10 2005/09/28 18:31:57 dgp Exp $
a128 9
/*
 * Disabled inclusion of Tcl's private header in hope of discovering we
 * no longer need it.
 *
#ifndef _TCLINT
#include <tclInt.h>
#endif
 */

@


1.10
log
@        * unix/tkUnixPort.h:    Disabled inclusion of the private Tcl header
        * win/tkWinPort.h:      file tclInt.h.  Tk ought to have a tiny and
        shrinking number of calls of private Tcl routines.  Each Tk source
        file doing this should follow the convention in the macosx port and
        have its own #include "tclInt.h".

        * generic/tkEvent.c:    Disabled calls to private Tcl routine
        TclInExit().  See comment in TkCreateExitHandler() for full rationale.
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.9 2002/10/19 02:10:20 hobbs Exp $
a87 2
#define TkFreeWindowId(dispPtr,w)
#define TkInitXId(dispPtr)
@


1.10.4.1
log
@Fix [Patch 2986105]: conditionally defining strcasecmp/strncasecmp
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.10 2005/09/28 18:31:57 dgp Exp $
d45 5
d52 1
a52 3
#   ifndef hypot
#	define hypot _hypot
#   endif
d55 3
a57 26
/*
 *  Pull in the typedef of TCHAR for windows.
 */
#if !defined(_TCHAR_DEFINED)
#   include <tchar.h>
#   ifndef _TCHAR_DEFINED
	/* Borland seems to forget to set this. */
	typedef _TCHAR TCHAR;
#	define _TCHAR_DEFINED
#   endif
#endif

#ifdef __CYGWIN__
#   ifndef _vsnprintf
#	define _vsnprintf vsnprintf
#   endif
#   ifndef _wcsicmp
#	define _wcsicmp wcscasecmp
#   endif
#else
#   ifndef strncasecmp
#	define strncasecmp strnicmp
#   endif
#   ifndef strcasecmp
#	define strcasecmp stricmp
#   endif
d122 18
@


1.10.4.2
log
@[Bug #3110161]: Extensions using TCHAR don't compile on VS2005 SP1
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.10.4.1 2010/04/19 08:23:31 nijtmans Exp $
a61 4
#   if defined(_MSC_VER) && defined(__STDC__)
	/* VS2005 SP1 misses this. See [Bug #3110161] */
	typedef _TCHAR TCHAR;
#   endif
@


1.9
log
@	* win/tkWinPort.h: define OPEN_MAX only if not defined.
	[Patch #625472] (howell)
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.8 2002/09/27 00:48:06 hobbs Exp $
d131 4
d138 1
@


1.8
log
@2002-09-18  Mumit Khan  <khan@@nanotech.wisc.edu>

	Added basic Cygwin support.

	* win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build.
	(SC_PATH_TKCONFIG): Likewise.
	(SC_PROG_TCLSH): Likewise.
	(SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin
	flags.  Add -mwin32 to extra_cflags and extra_ldflags.
	Remove ``-e _WinMain@@16'' from LDFLAGS_WINDOW.
	* win/configure: Regenerate.

	* win/tkWinPort.h (tchar.h): Do not include on Cygwin.
	(_T): Define for Cygwin.
	* win/winMain.c (main): Conditionally define.
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.7 1999/11/19 22:00:19 hobbs Exp $
d62 1
d64 1
@


1.7
log
@	* win/tkWinInt.h: removed TkFontAttributes typedef (was
	redundant with tkFont.h).
	* win/tkWinPort.h: put #ifndef __GNUC__ around redefinition
	of str[n]casecmp, as cygwin uses the originals.
	* win/tkWinX.c: changed GetCurrentTime to GetTickCount (the
	former is deprecated).  [Bug: 2053]
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.6 1999/07/22 21:51:25 redman Exp $
d45 5
a49 1
#include <tchar.h>
@


1.7.2.1
log
@	* win/tkWinPort.h (tchar.h): Do not include on Cygwin.
	(_T): Define for Cygwin.
	(OPEN_MAX): only define if currently undefined.
	* win/winMain.c (main): Conditionally define. [Patch #625283] (khan)

	* win/configure: Regen.
	* win/configure.in: Set CFLAGS to "" if the user did not set
	CFLAGS in the env. This keeps AC_PROG_CC from adding "-g -O2" to
	the CFLAGS by default. (dejong)
	* win/tcl.m4 (SC_CONFIG_CFLAGS): Check for bug in Cygwin version
	of windres and work around that case by passing a POSIX path
	instead of a Windows native path. One can't always pass a POSIX
	path because the mingw native toolchain accepts only Windows
	native paths. [Patch #625283] (dejong)
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.7 1999/11/19 22:00:19 hobbs Exp $
d45 1
a45 6

#ifdef __CYGWIN__
#    define _T(x) L##x
#else
#    include <tchar.h>
#endif
a57 1
#ifndef OPEN_MAX
a58 1
#endif
@


1.6
log
@
* Changed version to 8.2b2

* win/tkWinPort.h: Block out include of sys/stat.h in order to
build extensions with MetroWerks compiler for Win32. [Bug: 2385]

* unix/Makefile.in: Need to make install-sh executable before
calling (with chmod +x).  [Bug: 2413]

* library/menu.tcl: Applied patch from Jeff Hobbs to fix typo.
[Bug: 2425]
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.5 1999/04/16 01:51:53 stanton Exp $
d51 4
a54 2
#define strncasecmp strnicmp
#define strcasecmp stricmp
@


1.5
log
@* Merged 8.1 branch into the main trunk
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id$
d34 7
d42 2
@


1.4
log
@integrated stubs into 8.0 main branch
@
text
@a8 1
 * Copyright (c) 1998 by Scriptics Corporation.
d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.3.4.2 1999/03/06 23:07:53 stanton Exp $
d24 1
d36 1
a113 8
extern int gettimeofday(struct timeval *, struct timezone *);

/*
 * tclInt.h is included to get declarations of the following functions.
 *	void		panic _ANSI_ARGS_(TCL_VARARGS(char *,format));
 *	void		TclpGetTime _ANSI_ARGS_((Tcl_Time *time));
 */
  
d115 1
a115 1
#   include <tclInt.h>
@


1.3
log
@
Removed old/unused function declarations
removed unused file on Mac implementation
made bell cmd an obj cmd - improved it's test suite
@
text
@d14 1
a14 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.2 1998/09/14 18:24:01 stanton Exp $
a24 1

d114 10
a123 1
EXTERN void		panic _ANSI_ARGS_(TCL_VARARGS(char *,format));
@


1.3.4.1
log
@Modifications for Tk Stubs implementation
@
text
@d14 1
a14 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.3 1998/09/30 19:01:22 rjohnson Exp $
d25 1
d115 1
@


1.3.4.2
log
@Added stub patches
@
text
@d14 1
a14 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.3.4.1 1999/03/06 00:07:09 redman Exp $
a113 10

/*
 * tclInt.h is included to get declarations of the following functions.
 *	void		panic _ANSI_ARGS_(TCL_VARARGS(char *,format));
 *	void		TclpGetTime _ANSI_ARGS_((Tcl_Time *time));
 */
  
#ifndef _TCLINT
#   include <tclInt.h>
#endif
@


1.2
log
@Replaced SCCS strings, fixed binary files
@
text
@d9 1
d14 1
a14 1
 * RCS: @@(#) $Id$
a92 1
#define TkGetNativeProlog(interp) TkGetProlog(interp)
@


1.1
log
@Initial revision
@
text
@d13 1
a13 1
 * SCCS: @@(#) tkWinPort.h 1.25 97/04/21 17:08:42
@


1.1.4.1
log
@initial tk8.1a2 version
@
text
@d13 1
a13 1
 * SCCS: @@(#) tkWinPort.h 1.27 98/02/10 10:35:52
a35 1
#include <tchar.h>
d92 1
@


1.1.4.2
log
@Merged 8.0.3 changes into 8.1
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.2 1998/09/14 18:24:01 stanton Exp $
@


1.1.4.3
log
@integrated stubs from development branch
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.1.4.2 1998/09/30 02:19:37 stanton Exp $
d114 2
a115 3
#ifndef _TCLINT
#include <tclInt.h>
#endif
@


1.1.4.2.2.1
log
@Changes to support stubs in 8.1. Merged from 8.0.6 code base.
@
text
@d13 1
a13 1
 * RCS: @@(#) $Id: tkWinPort.h,v 1.1.4.2 1998/09/30 02:19:37 stanton Exp $
d114 2
a115 3
#ifndef _TCLINT
#include <tclInt.h>
#endif
@


