Skip to content
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

[Suggest] add WIN32_LEAN_AND_MEAN , NOMINMAX , NO... to Avoid effects of Windows.h #6

Closed
Esp9527 opened this issue May 19, 2021 · 1 comment

Comments

@Esp9527
Copy link

Esp9527 commented May 19, 2021

In the Windows.h header, if WIN32_LEAN_AND_MEAN is not defined, the preprocessor will includes other headers. So if you want to not include theses headers, you must define WIN32_LEAN_AND_MEAN before #include , else it won't have any effects

https://docs.microsoft.com/en-us/windows/win32/winprog/using-the-windows-headers

@Esp9527 Esp9527 closed this as completed May 19, 2021
@Esp9527
Copy link
Author

Esp9527 commented May 19, 2021

how to delete , that no this problem

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

No branches or pull requests

1 participant