summaryrefslogtreecommitdiffstats
path: root/tk8.6/generic/tkPort.h
diff options
context:
space:
mode:
Diffstat (limited to 'tk8.6/generic/tkPort.h')
-rw-r--r--tk8.6/generic/tkPort.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/tk8.6/generic/tkPort.h b/tk8.6/generic/tkPort.h
new file mode 100644
index 0000000..d6db449
--- /dev/null
+++ b/tk8.6/generic/tkPort.h
@@ -0,0 +1,31 @@
+/*
+ * 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.
+ */
+
+#ifndef _TKPORT
+#define _TKPORT
+
+#if defined(_WIN32)
+# include "tkWinPort.h"
+#endif
+#ifndef _TK
+# include "tk.h"
+#endif
+#if !defined(_WIN32)
+# if defined(MAC_OSX_TK)
+# include "tkMacOSXPort.h"
+# else
+# include "tkUnixPort.h"
+# endif
+#endif
+
+#endif /* _TKPORT */