summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixInit.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2021-01-05 20:41:27 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2021-01-05 20:41:27 (GMT)
commit496cff3ee18aff1069c341d282371190cff6563f (patch)
treec67d771e8834d9aca6a8fc4345f9d053b5073cc7 /unix/tclUnixInit.c
parent0f93742804d047a8de0fe3acda7b019daae7b273 (diff)
parent124e36102e8b08023fe370defa49f89705d61a13 (diff)
downloadtcl-496cff3ee18aff1069c341d282371190cff6563f.zip
tcl-496cff3ee18aff1069c341d282371190cff6563f.tar.gz
tcl-496cff3ee18aff1069c341d282371190cff6563f.tar.bz2
merge core-8-branch
Diffstat (limited to 'unix/tclUnixInit.c')
-rw-r--r--unix/tclUnixInit.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index 12cbd2c..c480a56 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -3,8 +3,8 @@
*
* Contains the Unix-specific interpreter initialization functions.
*
- * Copyright (c) 1995-1997 Sun Microsystems, Inc.
- * Copyright (c) 1999 by Scriptics Corporation.
+ * Copyright © 1995-1997 Sun Microsystems, Inc.
+ * Copyright © 1999 Scriptics Corporation.
* All rights reserved.
*/
@@ -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 {
@@ -886,8 +886,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) {