Conditionalized OsLogger.cpp on a modern SDK.

llvm-svn: 293020
This commit is contained in:
Sean Callanan 2017-01-25 05:18:32 +00:00
parent 8a27aee6ae
commit 95a6e6f6a6
1 changed files with 3 additions and 1 deletions

View File

@ -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