mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vlib: fix C warning for UNICODE macro redefinition on windows (#6415)
This commit is contained in:
parent
4dda06f9bb
commit
f7aa9cb0c5
@ -187,8 +187,12 @@ $c_common_macros
|
||||
#endif
|
||||
#define _WIN32_WINNT 0x0600
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#ifndef _UNICODE
|
||||
#define _UNICODE
|
||||
#endif
|
||||
#ifndef UNICODE
|
||||
#define UNICODE
|
||||
#endif
|
||||
#include <windows.h>
|
||||
|
||||
#include <io.h> // _waccess
|
||||
|
Loading…
Reference in New Issue
Block a user