Skip to content

Fix windows header inclusion#1324

Open
kstribrnAmzn wants to merge 1 commit intoFreeRTOS:mainfrom
kstribrnAmzn:fixWindowsInclude
Open

Fix windows header inclusion#1324
kstribrnAmzn wants to merge 1 commit intoFreeRTOS:mainfrom
kstribrnAmzn:fixWindowsInclude

Conversation

@kstribrnAmzn
Copy link
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
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.

2 participants