Skip to content

Commit c286708

Browse files
committed
Include windows.h
1 parent 4735ce5 commit c286708

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flang/runtime/extensions.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
#include <thread>
2424

2525
#ifdef _WIN32
26+
#define WIN32_LEAN_AND_MEAN
27+
#define NOMINMAX
28+
#include <windows.h>
2629
#include <synchapi.h>
2730

2831
inline void CtimeBuffer(char *buffer, size_t bufsize, const time_t cur_time,

0 commit comments

Comments
 (0)