Skip to content

Conversation

@gabime
Copy link
Contributor

@gabime gabime commented Jun 15, 2020

This prevents winsock2 redefinition warnings (e.g. see issue gabime/spdlog#1589) and minimizes the stuff that windows.h includes.

I also reversed the #ifdefcondition to avoid redefinition warnings if either NOMINMAX or WIN32_LEAN_AND_MEAN is already defined.

@vitaut vitaut merged commit 5aa5c98 into fmtlib:master Jun 17, 2020
@vitaut
Copy link
Contributor

vitaut commented Jun 17, 2020

Thanks!

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