compiler: make Windows headers work with clang-format
parent
fa99402314
commit
76def48f01
|
@ -226,7 +226,10 @@ fn (v mut V) compile() {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
|
// must be included after <windows.h>
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
|
|
||||||
#include <io.h> // _waccess
|
#include <io.h> // _waccess
|
||||||
#include <fcntl.h> // _O_U8TEXT
|
#include <fcntl.h> // _O_U8TEXT
|
||||||
#include <direct.h> // _wgetcwd
|
#include <direct.h> // _wgetcwd
|
||||||
|
|
Loading…
Reference in New Issue