From 12e90365ed9cce1179df68586af3ec9d83bb0316 Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Thu, 14 Dec 2017 18:50:13 +0000 Subject: Revert "(HEAD -> master, origin/master, origin/HEAD) [profile] Port the runtime to Solaris" This reverts commit r320726. It looks like flock isn't available on Windows: http://lab.llvm.org:8011/builders/sanitizer-windows/builds/21317/steps/build%20compiler-rt/logs/stdio git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@320728 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/profile/WindowsMMap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/profile/WindowsMMap.c') diff --git a/lib/profile/WindowsMMap.c b/lib/profile/WindowsMMap.c index dc87a888a..0c534710b 100644 --- a/lib/profile/WindowsMMap.c +++ b/lib/profile/WindowsMMap.c @@ -18,12 +18,11 @@ #if defined(_WIN32) #include "WindowsMMap.h" +#include "InstrProfiling.h" #define WIN32_LEAN_AND_MEAN #include -#include "InstrProfiling.h" - #ifdef __USE_FILE_OFFSET64 # define DWORD_HI(x) (x >> 32) # define DWORD_LO(x) ((x) & 0xffffffff) -- cgit v1.2.3