summaryrefslogtreecommitdiff
path: root/tk/generic/tkPort.h
diff options
context:
space:
mode:
Diffstat (limited to 'tk/generic/tkPort.h')
-rw-r--r--tk/generic/tkPort.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/tk/generic/tkPort.h b/tk/generic/tkPort.h
new file mode 100644
index 00000000000..ab9f28b15f8
--- /dev/null
+++ b/tk/generic/tkPort.h
@@ -0,0 +1,36 @@
+/*
+ * tkPort.h --
+ *
+ * This header file handles porting issues that occur because of
+ * differences between systems. It reads in platform specific
+ * portability files.
+ *
+ * Copyright (c) 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 _TKPORT
+#define _TKPORT
+
+#ifndef _TK
+#include "tk.h"
+#endif
+#ifndef _TCL
+#include "tcl.h"
+#endif
+
+#if defined(__WIN32__) || defined(_WIN32)
+# include "tkWinPort.h"
+#else
+# if defined(MAC_TCL)
+# include "tkMacPort.h"
+# else
+# include "../unix/tkUnixPort.h"
+# endif
+#endif
+
+#endif /* _TKPORT */