diff options
Diffstat (limited to 'tcl/win/tclWinInt.h')
-rw-r--r-- | tcl/win/tclWinInt.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/tcl/win/tclWinInt.h b/tcl/win/tclWinInt.h new file mode 100644 index 00000000000..915c3083624 --- /dev/null +++ b/tcl/win/tclWinInt.h @@ -0,0 +1,46 @@ +/* + * tclWinInt.h -- + * + * Declarations of Windows-specific shared variables and procedures. + * + * Copyright (c) 1994-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$ + */ + +#ifndef _TCLWININT +#define _TCLWININT + +#ifndef _TCLINT +#include "tclInt.h" +#endif +#ifndef _TCLPORT +#include "tclPort.h" +#endif + +#ifdef BUILD_tcl +# undef TCL_STORAGE_CLASS +# define TCL_STORAGE_CLASS DLLEXPORT +#endif + +/* + * Some versions of Borland C have a define for the OSVERSIONINFO for + * Win32s and for NT, but not for Windows 95. + */ + +#ifndef VER_PLATFORM_WIN32_WINDOWS +#define VER_PLATFORM_WIN32_WINDOWS 1 +#endif + +EXTERN int TclWinGetPlatformId(void); +EXTERN void TclWinInit(HINSTANCE hInst); +EXTERN int TclWinSynchSpawn(void *args, int type, void **trans, + Tcl_Pid *pidPtr); + +# undef TCL_STORAGE_CLASS +# define TCL_STORAGE_CLASS DLLIMPORT + +#endif /* _TCLWININT */ |