diff options
author | Vedant Kumar <vsk@apple.com> | 2017-12-14 18:50:13 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2017-12-14 18:50:13 +0000 |
commit | 12e90365ed9cce1179df68586af3ec9d83bb0316 (patch) | |
tree | 0d0b59670b0515cd5f4bbe80c7753f6ef1f85305 /lib/profile/InstrProfilingPlatformOther.c | |
parent | f6d0ce49a30c2b40d69369cd799f76f95c052b0e (diff) |
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
Diffstat (limited to 'lib/profile/InstrProfilingPlatformOther.c')
-rw-r--r-- | lib/profile/InstrProfilingPlatformOther.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/profile/InstrProfilingPlatformOther.c b/lib/profile/InstrProfilingPlatformOther.c index a339abc7f..b25966487 100644 --- a/lib/profile/InstrProfilingPlatformOther.c +++ b/lib/profile/InstrProfilingPlatformOther.c @@ -7,12 +7,11 @@ |* \*===----------------------------------------------------------------------===*/ -#if !defined(__APPLE__) && !defined(__linux__) && !defined(__FreeBSD__) && \ - !(defined(__sun__) && defined(__svr4__)) +#include "InstrProfiling.h" -#include <stdlib.h> +#if !defined(__APPLE__) && !defined(__linux__) && !defined(__FreeBSD__) -#include "InstrProfiling.h" +#include <stdlib.h> static const __llvm_profile_data *DataFirst = NULL; static const __llvm_profile_data *DataLast = NULL; |