Skip to content

Prevent name collisions with Windows.h macros - #21

Open
jonas-s-s-s wants to merge 1 commit into
badaix:masterfrom
jonas-s-s-s:patch-1
Open

Prevent name collisions with Windows.h macros#21
jonas-s-s-s wants to merge 1 commit into
badaix:masterfrom
jonas-s-s-s:patch-1

Conversation

@jonas-s-s-s

Copy link
Copy Markdown

Resolves #20

Solves macro collisions such as min / max.
Compile speed should also be improved because significant portion of the header code is omitted when using WIN32_LEAN_AND_MEAN.

https://stackoverflow.com/questions/11040133/what-does-defining-win32-lean-and-mean-exclude-exactly
https://stackoverflow.com/questions/11544073/how-do-i-deal-with-the-max-macro-in-windows-h-colliding-with-max-in-std

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.

Including Windows.h supposedly causes macro conflicts when used together with other libraries

1 participant