From d5f670d991a2af2f558413d78ff35bc05521f9bc Mon Sep 17 00:00:00 2001 From: Ratin Gao Date: Fri, 27 Jun 2025 06:42:18 +0800 Subject: [PATCH 1/3] Update predefined-macros.md --- docs/preprocessor/predefined-macros.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/preprocessor/predefined-macros.md b/docs/preprocessor/predefined-macros.md index 1694c9d5af..151d80c3eb 100644 --- a/docs/preprocessor/predefined-macros.md +++ b/docs/preprocessor/predefined-macros.md @@ -312,9 +312,9 @@ MSVC supports other predefined macros: - `_WCHAR_T_DEFINED` Defined as 1 when the default [`/Zc:wchar_t`](../build/reference/zc-wchar-t-wchar-t-is-native-type.md) compiler option is set. The `_WCHAR_T_DEFINED` macro is defined but has no value if the **`/Zc:wchar_t-`** compiler option is set, and **`wchar_t`** is defined in a system header file included in your project. Otherwise, undefined. -- `_WIN32` Defined as 1 when the compilation target is 32-bit ARM, 64-bit ARM, x86, or x64. Otherwise, undefined. +- `_WIN32` Defined as 1 when the compilation target is 32-bit ARM, 64-bit ARM, x86, x64 or ARM64EC. Otherwise, undefined. -- `_WIN64` Defined as 1 when the compilation target is 64-bit ARM or x64. Otherwise, undefined. +- `_WIN64` Defined as 1 when the compilation target is 64-bit ARM, x64 or ARM64EC. Otherwise, undefined. - `_WINRT_DLL` Defined as 1 when compiled as C++ and both [**`/ZW`** (Windows Runtime Compilation)](../build/reference/zw-windows-runtime-compilation.md) and [**`/LD`** or **`/LDd`**](../build/reference/md-mt-ld-use-run-time-library.md) compiler options are set. Otherwise, undefined. From 4d2acb627849752dc8f8af895bfd64bcab78a0bb Mon Sep 17 00:00:00 2001 From: Ratin Gao Date: Fri, 27 Jun 2025 16:00:36 +0800 Subject: [PATCH 2/3] Update docs/preprocessor/predefined-macros.md Co-authored-by: Rageking8 <106309953+Rageking8@users.noreply.github.com> --- docs/preprocessor/predefined-macros.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/preprocessor/predefined-macros.md b/docs/preprocessor/predefined-macros.md index 151d80c3eb..2cbcf27992 100644 --- a/docs/preprocessor/predefined-macros.md +++ b/docs/preprocessor/predefined-macros.md @@ -312,7 +312,7 @@ MSVC supports other predefined macros: - `_WCHAR_T_DEFINED` Defined as 1 when the default [`/Zc:wchar_t`](../build/reference/zc-wchar-t-wchar-t-is-native-type.md) compiler option is set. The `_WCHAR_T_DEFINED` macro is defined but has no value if the **`/Zc:wchar_t-`** compiler option is set, and **`wchar_t`** is defined in a system header file included in your project. Otherwise, undefined. -- `_WIN32` Defined as 1 when the compilation target is 32-bit ARM, 64-bit ARM, x86, x64 or ARM64EC. Otherwise, undefined. +- `_WIN32` Defined as 1 when the compilation target is 32-bit ARM, 64-bit ARM, x86, x64, or ARM64EC. Otherwise, undefined. - `_WIN64` Defined as 1 when the compilation target is 64-bit ARM, x64 or ARM64EC. Otherwise, undefined. From f6fb962ca9e89a830db8e41da20982e963564e03 Mon Sep 17 00:00:00 2001 From: Ratin Gao Date: Fri, 27 Jun 2025 16:00:48 +0800 Subject: [PATCH 3/3] Update docs/preprocessor/predefined-macros.md Co-authored-by: Rageking8 <106309953+Rageking8@users.noreply.github.com> --- docs/preprocessor/predefined-macros.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/preprocessor/predefined-macros.md b/docs/preprocessor/predefined-macros.md index 2cbcf27992..501dfdd2be 100644 --- a/docs/preprocessor/predefined-macros.md +++ b/docs/preprocessor/predefined-macros.md @@ -314,7 +314,7 @@ MSVC supports other predefined macros: - `_WIN32` Defined as 1 when the compilation target is 32-bit ARM, 64-bit ARM, x86, x64, or ARM64EC. Otherwise, undefined. -- `_WIN64` Defined as 1 when the compilation target is 64-bit ARM, x64 or ARM64EC. Otherwise, undefined. +- `_WIN64` Defined as 1 when the compilation target is 64-bit ARM, x64, or ARM64EC. Otherwise, undefined. - `_WINRT_DLL` Defined as 1 when compiled as C++ and both [**`/ZW`** (Windows Runtime Compilation)](../build/reference/zw-windows-runtime-compilation.md) and [**`/LD`** or **`/LDd`**](../build/reference/md-mt-ld-use-run-time-library.md) compiler options are set. Otherwise, undefined.