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