projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feeeb30
)
Only #include sys/stat.h if we're on linux where we have the PR274 problem.
author
Reid Spencer
<rspencer@reidspencer.com>
Fri, 17 Dec 2004 18:56:29 +0000
(18:56 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Fri, 17 Dec 2004 18:56:29 +0000
(18:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19020
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/JIT/Intercept.cpp
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/JIT/Intercept.cpp
b/lib/ExecutionEngine/JIT/Intercept.cpp
index 93d349ffa5d8e72245d9c25dba85afb07e7b8b09..0877467ab597d092058c89fe11cdb297f6cce4e7 100644
(file)
--- a/
lib/ExecutionEngine/JIT/Intercept.cpp
+++ b/
lib/ExecutionEngine/JIT/Intercept.cpp
@@
-18,7
+18,9
@@
#include "JIT.h"
#include "llvm/System/DynamicLibrary.h"
#include <iostream>
+#if defined(__linux__)
#include <sys/stat.h>
+#endif
using namespace llvm;
// AtExitHandlers - List of functions to call when the program exits,