1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

compiler: make Windows headers work with clang-format

This commit is contained in:
Alexander Medvednikov 2019-08-07 05:21:41 +02:00
parent fa99402314
commit 76def48f01

View File

@ -226,7 +226,10 @@ fn (v mut V) compile() {
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
// must be included after <windows.h>
#include <shellapi.h>
#include <io.h> // _waccess
#include <fcntl.h> // _O_U8TEXT
#include <direct.h> // _wgetcwd