cgen: support `#flag -DWIN32_FULL`, when you do NOT want WIN32_FULL

pull/8496/head
Delyan Angelov 2021-02-01 14:40:51 +02:00
parent 43676330ba
commit 5b9a7bf6b3
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 3 additions and 1 deletions

View File

@ -231,7 +231,9 @@ $c_common_macros
#undef _WIN32_WINNT #undef _WIN32_WINNT
#endif #endif
#define _WIN32_WINNT 0x0600 #define _WIN32_WINNT 0x0600
#ifndef WIN32_FULL
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#endif
#ifndef _UNICODE #ifndef _UNICODE
#define _UNICODE #define _UNICODE
#endif #endif