diff options
Diffstat (limited to 'tcl/generic/tclPort.h')
-rw-r--r-- | tcl/generic/tclPort.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tcl/generic/tclPort.h b/tcl/generic/tclPort.h new file mode 100644 index 00000000000..d6620dc1b69 --- /dev/null +++ b/tcl/generic/tclPort.h @@ -0,0 +1,33 @@ +/* + * tclPort.h -- + * + * This header file handles porting issues that occur because + * of differences between systems. It reads in platform specific + * portability files. + * + * Copyright (c) 1994-1995 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 _TCLPORT +#define _TCLPORT + +#if defined(__CYGWIN__) && defined(__TCL_UNIX_VARIANT) +# include "../unix/tclUnixPort.h" +#else +#if defined(__WIN32__) || defined(_WIN32) +# include "../win/tclWinPort.h" +#else +# if defined(MAC_TCL) +# include "tclMacPort.h" +# else +# include "../unix/tclUnixPort.h" +# endif +#endif +#endif + +#endif /* _TCLPORT */ |