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/InstrProfilingPlatformLinux.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/profile/InstrProfilingPlatformLinux.c') diff --git a/lib/profile/InstrProfilingPlatformLinux.c b/lib/profile/InstrProfilingPlatformLinux.c index 89f1ab4cf..b6c780ff5 100644 --- a/lib/profile/InstrProfilingPlatformLinux.c +++ b/lib/profile/InstrProfilingPlatformLinux.c @@ -7,13 +7,11 @@ |* \*===----------------------------------------------------------------------===*/ -#if defined(__linux__) || defined(__FreeBSD__) || \ - (defined(__sun__) && defined(__svr4__)) +#include "InstrProfiling.h" +#if defined(__linux__) || defined(__FreeBSD__) #include -#include "InstrProfiling.h" - #define PROF_DATA_START INSTR_PROF_SECT_START(INSTR_PROF_DATA_SECT_NAME) #define PROF_DATA_STOP INSTR_PROF_SECT_STOP(INSTR_PROF_DATA_SECT_NAME) #define PROF_NAME_START INSTR_PROF_SECT_START(INSTR_PROF_NAME_SECT_NAME) -- cgit v1.2.3