win: move LEAN_AND_MEAN before tls includes
It's always mean... we define LEAN_AND_MEAN in libwebsockets.h but we include libwebsockets.h partway through private-libwebsockets.h. Reorder for https://github.com/warmcat/libwebsockets/issues/1080
This commit is contained in:
parent
491fd183f8
commit
7594bc585c
1 changed files with 5 additions and 0 deletions
|
@ -102,6 +102,11 @@ char *ets_strchr(const char *s, int c);
|
|||
#endif
|
||||
|
||||
#if defined(WIN32) || defined(_WIN32)
|
||||
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
#if (WINVER < 0x0501)
|
||||
#undef WINVER
|
||||
#undef _WIN32_WINNT
|
||||
|
|
Loading…
Add table
Reference in a new issue