diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2014-02-04 21:56:05 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2014-02-04 21:56:05 (GMT) |
commit | 5f1a5bea58e43ae878f8cd400a50f64fd6198745 (patch) | |
tree | 55f588c511ea16d7dc14ef7484a345054a3ce7ec /win | |
parent | a4503c5f15d636b24390e512953ae5c70cf772f3 (diff) | |
parent | e0731b19e0a3b7cafc88a396004412029583ced5 (diff) | |
download | tk-5f1a5bea58e43ae878f8cd400a50f64fd6198745.zip tk-5f1a5bea58e43ae878f8cd400a50f64fd6198745.tar.gz tk-5f1a5bea58e43ae878f8cd400a50f64fd6198745.tar.bz2 |
Satisfy required position of __stdcall from VC++
FossilOrigin-Name: c8ba96b8bd067911b3dd294e1893940c0aedf043
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinX.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c index 49ba438..6c44059 100644 --- a/win/tkWinX.c +++ b/win/tkWinX.c @@ -125,8 +125,8 @@ TkGetServerInfo( if (!buffer[0]) { 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"); os.dwOSVersionInfoSize = sizeof(OSVERSIONINFOW); if (!getversion || getversion(&os)) { GetVersionExW(&os); |