[PR #8513] Exclude more rarely-used stuff from Windows headers #27214

Open
opened 2026-01-31 09:20:41 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/8513

State: closed
Merged: Yes


This PR defines a series of NOSOMETHING macros in PCHs, in order to
prevent windows.h from bringing a lot of rarely used things into the
project.

Theoretically this should make PCH generation and overall complication
faster, but I didn't really benchmark the speed.

Another benefit would be reducing the symbol noises caused by
windows.h.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/8513 **State:** closed **Merged:** Yes --- This PR defines a series of `NOSOMETHING` macros in PCHs, in order to prevent `windows.h` from bringing a lot of rarely used things into the project. Theoretically this should make PCH generation and overall complication faster, but I didn't really benchmark the speed. Another benefit would be reducing the symbol noises caused by `windows.h`.
claunia added the pull-request label 2026-01-31 09:20:41 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27214