compiler: make Windows headers work with clang-format

pull/1498/head
Alexander Medvednikov 2019-08-07 05:21:41 +02:00
parent fa99402314
commit 76def48f01
1 changed files with 3 additions and 0 deletions

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