summaryrefslogtreecommitdiffstats
path: root/generic/tclPort.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclPort.h')
-rw-r--r--generic/tclPort.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/generic/tclPort.h b/generic/tclPort.h
index f4fb831..12a60db 100644
--- a/generic/tclPort.h
+++ b/generic/tclPort.h
@@ -14,17 +14,15 @@
#ifndef _TCLPORT
#define _TCLPORT
-#include "tcl.h"
-
-#if defined(__WIN32__)
+#ifdef HAVE_TCL_CONFIG_H
+#include "tclConfig.h"
+#endif
+#if defined(_WIN32)
# include "tclWinPort.h"
#else
-# if defined(MAC_TCL)
-# include "tclMacPort.h"
-# else
-# include "tclUnixPort.h"
-# endif
+# include "tclUnixPort.h"
#endif
+#include "tcl.h"
#if !defined(LLONG_MIN)
# ifdef TCL_WIDE_INT_IS_LONG