mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Oops. s/#if defined(USE_OPROFILE)/#if USE_OPROFILE/. We #define
USE_OPROFILE to 0 on some paths through configure, which does the wrong thing with #if defined(). llvm-svn: 75300
This commit is contained in:
parent
70881971d2
commit
0f896380f6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user