forked from OSchip/llvm-project
Conditionalized OsLogger.cpp on a modern SDK.
llvm-svn: 293020
This commit is contained in:
parent
8a27aee6ae
commit
95a6e6f6a6
|
@ -8,8 +8,9 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "OsLogger.h"
|
||||
#include <Availability.h>
|
||||
|
||||
#if LLDB_USE_OS_LOG
|
||||
#if (LLDB_USE_OS_LOG) && (__MAC_OS_X_VERSION_MAX_ALLOWED >= 101200)
|
||||
|
||||
#include <os/log.h>
|
||||
|
||||
|
@ -64,3 +65,4 @@ DNBCallbackLog OsLogger::GetLogFunction() {
|
|||
DNBCallbackLog OsLogger::GetLogFunction() { return nullptr; }
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue