summaryrefslogtreecommitdiffstats
path: root/win/tclWinInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-02-04 21:51:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-02-04 21:51:32 (GMT)
commitc7569e1c35930b65d7242445d29707703efbe040 (patch)
tree0abec62730bd0a06a26e86501deea6044e1b6bd0 /win/tclWinInit.c
parentfc5e6debdee34caf68237de6750c1bb4c230e2bc (diff)
downloadtcl-c7569e1c35930b65d7242445d29707703efbe040.zip
tcl-c7569e1c35930b65d7242445d29707703efbe040.tar.gz
tcl-c7569e1c35930b65d7242445d29707703efbe040.tar.bz2
Satisfy required position of __stdcall from VC++
Diffstat (limited to 'win/tclWinInit.c')
-rw-r--r--win/tclWinInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinInit.c b/win/tclWinInit.c
index f49edf0..2f3c7e8 100644
--- a/win/tclWinInit.c
+++ b/win/tclWinInit.c
@@ -574,8 +574,8 @@ TclpSetVariables(
if (!osInfoInitialized) {
HANDLE handle = LoadLibraryW(L"NTDLL");
- __stdcall int(*getversion)(void *) =
- (__stdcall int(*)(void *)) GetProcAddress(handle, "RtlGetVersion");
+ int(__stdcall *getversion)(void *) =
+ (int(__stdcall *)(void *)) GetProcAddress(handle, "RtlGetVersion");
osInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFOW);
if (!getversion || getversion(&osInfo)) {
GetVersionExW(&osInfo);