Skip to content

Fix windows header inclusion#1324

Merged
kstribrnAmzn merged 1 commit intoFreeRTOS:mainfrom
kstribrnAmzn:fixWindowsInclude
Mar 16, 2026
Merged

Fix windows header inclusion#1324
kstribrnAmzn merged 1 commit intoFreeRTOS:mainfrom
kstribrnAmzn:fixWindowsInclude

Conversation

@kstribrnAmzn
Copy link
Copy Markdown
Member

@kstribrnAmzn kstribrnAmzn commented Mar 4, 2026

Description

WIN32_LEAN_AND_MEAN strips many header
inclusions from windows.h to speed up build
times. It appears to strip windef.h which
is needed for FALSE/TRUE.

Test Steps

Testing through FreeRTOS/FreeRTOS - FreeRTOS/FreeRTOS#1395

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

WIN32_LEAN_AND_MEAN strips many header
inclusions from windows.h to speed up build
times. It appears to strip windef.h which
is needed for FALSE/TRUE.
@kstribrnAmzn kstribrnAmzn marked this pull request as ready for review March 4, 2026 18:43
Copy link
Copy Markdown
Contributor

@htibosch htibosch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR, I approve it

@kstribrnAmzn kstribrnAmzn merged commit af6b379 into FreeRTOS:main Mar 16, 2026
10 checks passed
@kstribrnAmzn kstribrnAmzn deleted the fixWindowsInclude branch March 16, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants