You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Lichtso! It's been a long time! I still use your library! Thanks for this!!
I am working in Microsoft Visual Studio 2019 environment.
WINVER does not seem to work. I need it for conditional compilation:
#ifdef WINVER
#include<SDKDDKVer.h>
#include<Ws2tcpip.h>
#pragma comment(lib, "Ws2_32.lib")
#undef min
#undef max
#else
I get:
#error: WINVER setting conflicts with _WIN32_WINNT setting
DJuego
The text was updated successfully, but these errors were encountered:
I mean you can always force it by replacing #ifdef WINVER by #ifdef true.
But, it would be nice to find a macro like WINVER or _WIN32_WINNT which is automatically set on windows environments. Can you check in your IDE or CMake what macros it defines?
Hi @Lichtso! It's been a long time! I still use your library! Thanks for this!!
I am working in Microsoft Visual Studio 2019 environment.
WINVER does not seem to work. I need it for conditional compilation:
I get:
DJuego
The text was updated successfully, but these errors were encountered: