aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp b/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
index 1cc45139da..6263a5b500 100644
--- a/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
+++ b/lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp
@@ -25,7 +25,7 @@
#include <stddef.h>
using namespace llvm;
-#if defined(USE_OPROFILE)
+#if USE_OPROFILE
#include <opagent.h>
@@ -96,7 +96,7 @@ JITEventListener *createOProfileJITEventListener() {
}
}
-#else // !defined(USE_OPROFILE)
+#else // USE_OPROFILE
namespace llvm {
// By defining this to return NULL, we can let clients call it unconditionally,
@@ -106,4 +106,4 @@ JITEventListener *createOProfileJITEventListener() {
}
} // namespace llvm
-#endif // defined(USE_OPROFILE)
+#endif // USE_OPROFILE