[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/Intercept.cpp

Reid Spencer reid at x10sys.com
Fri Dec 17 10:56:40 PST 2004



Changes in directory llvm/lib/ExecutionEngine/JIT:

Intercept.cpp updated: 1.20 -> 1.21
---
Log message:

Only #include sys/stat.h if we're on linux where we have the PR274: http://llvm.cs.uiuc.edu/PR274  problem.


---
Diffs of the changes:  (+2 -0)

Index: llvm/lib/ExecutionEngine/JIT/Intercept.cpp
diff -u llvm/lib/ExecutionEngine/JIT/Intercept.cpp:1.20 llvm/lib/ExecutionEngine/JIT/Intercept.cpp:1.21
--- llvm/lib/ExecutionEngine/JIT/Intercept.cpp:1.20	Fri Dec  3 17:02:55 2004
+++ llvm/lib/ExecutionEngine/JIT/Intercept.cpp	Fri Dec 17 12:56:29 2004
@@ -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,






More information about the llvm-commits mailing list