diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-01-28 15:31:11 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-01-28 15:31:11 (GMT) |
commit | 408e1c14d0e35287451c51f8481df58fffae755d (patch) | |
tree | f57336a18aa56421579df2d50e572c60fc971788 /win/tclWinInit.c | |
parent | 115a32cd6ffb82a45e681c6701e9419d563cf577 (diff) | |
parent | 33b2c943235d9343253e4dfc60cfb80ca0e064d6 (diff) | |
download | tcl-408e1c14d0e35287451c51f8481df58fffae755d.zip tcl-408e1c14d0e35287451c51f8481df58fffae755d.tar.gz tcl-408e1c14d0e35287451c51f8481df58fffae755d.tar.bz2 |
Merge 8.7
Diffstat (limited to 'win/tclWinInit.c')
-rw-r--r-- | win/tclWinInit.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/win/tclWinInit.c b/win/tclWinInit.c index 9847e55..448045e 100644 --- a/win/tclWinInit.c +++ b/win/tclWinInit.c @@ -78,19 +78,14 @@ typedef struct { /* - * Windows version dependend functions - */ -TclWinProcs tclWinProcs; - -/* * The following arrays contain the human readable strings for the * processor values. */ -#define NUMPROCESSORS 11 +#define NUMPROCESSORS 15 static const char *const processors[NUMPROCESSORS] = { "intel", "mips", "alpha", "ppc", "shx", "arm", "ia64", "alpha64", "msil", - "amd64", "ia32_on_win64" + "amd64", "ia32_on_win64", "neutral", "arm64", "arm32_on_win64", "ia32_on_arm64" }; /* @@ -131,7 +126,6 @@ TclpInitPlatform(void) { WSADATA wsaData; WORD wVersionRequested = MAKEWORD(2, 2); - HMODULE handle; tclPlatform = TCL_PLATFORM_WINDOWS; @@ -150,14 +144,6 @@ TclpInitPlatform(void) TclWinInit(GetModuleHandleW(NULL)); #endif - - /* - * Fill available functions depending on windows version - */ - handle = GetModuleHandleW(L"KERNEL32"); - tclWinProcs.cancelSynchronousIo = - (BOOL (WINAPI *)(HANDLE))(void *)GetProcAddress(handle, - "CancelSynchronousIo"); } /* |