diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2014-02-04 21:51:32 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2014-02-04 21:51:32 (GMT) |
commit | 96a89c2cbc58b1f6c0c28ee2380c929a14acf98c (patch) | |
tree | 0abec62730bd0a06a26e86501deea6044e1b6bd0 /unix/tclUnixInit.c | |
parent | 9abcd2c1f79455ad3e0a0ec6ce421d40a3dd0a98 (diff) | |
download | tcl-96a89c2cbc58b1f6c0c28ee2380c929a14acf98c.zip tcl-96a89c2cbc58b1f6c0c28ee2380c929a14acf98c.tar.gz tcl-96a89c2cbc58b1f6c0c28ee2380c929a14acf98c.tar.bz2 |
Satisfy required position of __stdcall from VC++
Diffstat (limited to 'unix/tclUnixInit.c')
-rw-r--r-- | unix/tclUnixInit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c index 7e0b19a..a8cd00d 100644 --- a/unix/tclUnixInit.c +++ b/unix/tclUnixInit.c @@ -930,8 +930,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); |