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, 4 insertions, 7 deletions
diff --git a/generic/tclPort.h b/generic/tclPort.h
index 7021b8d..c5d8b71 100644
--- a/generic/tclPort.h
+++ b/generic/tclPort.h
@@ -14,14 +14,11 @@
#ifndef _TCLPORT
#define _TCLPORT
-#ifdef HAVE_TCL_CONFIG_H
-#include "tclConfig.h"
-#endif
-#if defined(_WIN32)
-# include "tclWinPort.h"
-#endif
#include "tcl.h"
-#if !defined(_WIN32)
+
+#if defined(__WIN32__)
+# include "tclWinPort.h"
+#else
# include "tclUnixPort.h"
#endif