summaryrefslogtreecommitdiffstats
path: root/generic/tclPort.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclPort.h')
-rw-r--r--generic/tclPort.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/tclPort.h b/generic/tclPort.h
index c5d8b71..12a60db 100644
--- a/generic/tclPort.h
+++ b/generic/tclPort.h
@@ -14,13 +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
# include "tclUnixPort.h"
#endif
+#include "tcl.h"
#if !defined(LLONG_MIN)
# ifdef TCL_WIDE_INT_IS_LONG