summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-05 17:09:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-05 17:09:07 (GMT)
commit76c2d5c0cf6a9c0e93165e3501a327943d89332f (patch)
treef4b01aa24520402a9ed3b25dfef5a7d629e43a13 /unix/tclUnixInit.c
parent4f009f6fd00b7bad93333a9660159147deb1b293 (diff)
parent3b7c040233cbbfe0f1e1187325365597fed23d8d (diff)
downloadtcl-76c2d5c0cf6a9c0e93165e3501a327943d89332f.zip
tcl-76c2d5c0cf6a9c0e93165e3501a327943d89332f.tar.gz
tcl-76c2d5c0cf6a9c0e93165e3501a327943d89332f.tar.bz2
Merge 8.7
Diffstat (limited to 'unix/tclUnixInit.c')
-rw-r--r--unix/tclUnixInit.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index 424e69b..ed03f69 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -46,10 +46,10 @@ DLLIMPORT extern __stdcall void GetSystemInfo(void *);
}
#endif
-#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"
+ "i686", "mips", "alpha", "ppc", "shx", "arm", "ia64", "alpha64", "msil",
+ "x86_64", "ia32_on_win64", "neutral", "arm64", "arm32_on_win64", "ia32_on_arm64"
};
typedef struct {
@@ -885,8 +885,7 @@ TclpSetVariables(
GetSystemInfo(&sysInfo);
- Tcl_SetVar2(interp, "tcl_platform", "os",
- "Windows NT", TCL_GLOBAL_ONLY);
+ Tcl_SetVar2(interp, "tcl_platform", "os", "Windows NT", TCL_GLOBAL_ONLY);
sprintf(buffer, "%d.%d", osInfo.dwMajorVersion, osInfo.dwMinorVersion);
Tcl_SetVar2(interp, "tcl_platform", "osVersion", buffer, TCL_GLOBAL_ONLY);
if (sysInfo.wProcessorArchitecture < NUMPROCESSORS) {