summaryrefslogtreecommitdiffstats
path: root/win/tkWinInt.h
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2025-05-23 02:28:37 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2025-05-23 02:28:37 (GMT)
commit25f16a070dd42bc33af26334d2071a81377aee5c (patch)
treef20dcb1268a10aa292953f0ffa965881fefed78b /win/tkWinInt.h
parente1675428ff056ed7a44fcc26a26dc5adb8e5f9eb (diff)
parentf8e4b115fdb0f0886cd853323937b8ea757fcc21 (diff)
downloadtk-core-tip-716.zip
tk-core-tip-716.tar.gz
tk-core-tip-716.tar.bz2
Merge core-9-0-branchcore-tip-716
Diffstat (limited to 'win/tkWinInt.h')
-rw-r--r--win/tkWinInt.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/win/tkWinInt.h b/win/tkWinInt.h
index 93b98ca..36aa6a4 100644
--- a/win/tkWinInt.h
+++ b/win/tkWinInt.h
@@ -14,18 +14,20 @@
#ifndef _TKWININT
#define _TKWININT
-#ifndef _TKINT
-#include "tkInt.h"
-#endif
-
/*
- * Include platform specific public interfaces.
+ * Include platform specific public interfaces as the very first step. This is
+ * necessary because definitions provided by subsequent header files depend on
+ * the interface versions defined in tkWin.h
*/
#ifndef _TKWIN
#include "tkWin.h"
#endif
+#ifndef _TKINT
+#include "tkInt.h"
+#endif
+
/*
* Define constants missing from older Win32 SDK header files.
*/