diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-02-04 21:52:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-02-04 21:52:46 (GMT) |
commit | f0d60b210887d1dfe389016871c6e0a503141e4f (patch) | |
tree | 13c4782f793f326f40fb1eed40e22561bf6b2739 /win/tclWinInit.c | |
parent | ccfe30e8ecf3e552db498ad4be486d8b6b573bde (diff) | |
parent | 9887531ec3b2a437e0e000b4129b4461d7922238 (diff) | |
download | tcl-f0d60b210887d1dfe389016871c6e0a503141e4f.zip tcl-f0d60b210887d1dfe389016871c6e0a503141e4f.tar.gz tcl-f0d60b210887d1dfe389016871c6e0a503141e4f.tar.bz2 |
Satisfy required position of __stdcall from VC++
Diffstat (limited to 'win/tclWinInit.c')
-rw-r--r-- | win/tclWinInit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinInit.c b/win/tclWinInit.c index daa4d37..2c21d38 100644 --- a/win/tclWinInit.c +++ b/win/tclWinInit.c @@ -541,8 +541,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); |