Skip to content

Fix experimental:preprocessor links #1720

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/preprocessor/predefined-macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ MSVC supports these additional predefined macros.

- **__MSVC_RUNTIME_CHECKS** Defined as 1 when one of the [/RTC](../build/reference/rtc-run-time-error-checks.md) compiler options is set. Otherwise, undefined.

- **_MSVC_TRADITIONAL** Defined as 0 when the preprocessor conformance mode [/experimental:preprocessor](../build/reference/rtc-run-time-error-checks.md) compiler option is set. Defined as 1 by default, or when the [/experimental:preprocessor-](../build/reference/rtc-run-time-error-checks.md) compiler option is set, to indicate the traditional preprocessor is in use. The **_MSVC_TRADITIONAL** macro and [/experimental:preprocessor (Enable preprocessor conformance mode)](../build/reference/experimental-preprocessor.md) compiler option is available beginning in Visual Studio 2017 version 15.8.
- **_MSVC_TRADITIONAL** Defined as 0 when the preprocessor conformance mode [/experimental:preprocessor](../build/reference/experimental-preprocessor.md) compiler option is set. Defined as 1 by default, or when the [/experimental:preprocessor-](../build/reference/experimental-preprocessor.md) compiler option is set, to indicate the traditional preprocessor is in use. The **_MSVC_TRADITIONAL** macro and [/experimental:preprocessor (Enable preprocessor conformance mode)](../build/reference/experimental-preprocessor.md) compiler option is available beginning in Visual Studio 2017 version 15.8.

```cpp
#if defined(_MSVC_TRADITIONAL) && _MSVC_TRADITIONAL
Expand Down