summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixInit.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2014-02-04 21:52:46 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2014-02-04 21:52:46 (GMT)
commit1cf408ab8fa2b0ac454c85efb0f8f144074285dc (patch)
tree13c4782f793f326f40fb1eed40e22561bf6b2739 /unix/tclUnixInit.c
parent589e2eeca187b73dd181ab2fc09d9ee0caae957c (diff)
parent96a89c2cbc58b1f6c0c28ee2380c929a14acf98c (diff)
downloadtcl-1cf408ab8fa2b0ac454c85efb0f8f144074285dc.zip
tcl-1cf408ab8fa2b0ac454c85efb0f8f144074285dc.tar.gz
tcl-1cf408ab8fa2b0ac454c85efb0f8f144074285dc.tar.bz2
Satisfy required position of __stdcall from VC++
Diffstat (limited to 'unix/tclUnixInit.c')
-rw-r--r--unix/tclUnixInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index 7fe511b..1617cba 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -866,8 +866,8 @@ TclpSetVariables(
unameOK = 1;
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);