summaryrefslogtreecommitdiffstats
path: root/generic/tclPort.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclPort.h')
-rw-r--r--generic/tclPort.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/generic/tclPort.h b/generic/tclPort.h
index f4fb831..7021b8d 100644
--- a/generic/tclPort.h
+++ b/generic/tclPort.h
@@ -14,16 +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
+#endif
+#include "tcl.h"
+#if !defined(_WIN32)
+# include "tclUnixPort.h"
#endif
#if !defined(LLONG_MIN)