diff options
author | Sean Callanan <scallanan@apple.com> | 2016-01-20 23:12:39 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2016-01-20 23:12:39 +0000 |
commit | 10badfc924871e020981a12705dcec9544912278 (patch) | |
tree | 0bb45a824d508776271306ad4e9565d33ea68e36 /lldb | |
parent | 816a1ab9d9f3f640200895215a19772db11e9c99 (diff) | |
download | bcm5719-llvm-10badfc924871e020981a12705dcec9544912278.tar.gz bcm5719-llvm-10badfc924871e020981a12705dcec9544912278.zip |
Fixed some #ifdefs. We were erroneously not supporting certain simulators.
We had some #ifdefs that were looking for the wrong #defines and as a result
debugserver didn't have support for certain simulators. This patch resolves
the problem.
llvm-svn: 258365
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/tools/debugserver/source/RNBRemote.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/tools/debugserver/source/RNBRemote.cpp b/lldb/tools/debugserver/source/RNBRemote.cpp index 6dddb046acc..8ac2060d6c4 100644 --- a/lldb/tools/debugserver/source/RNBRemote.cpp +++ b/lldb/tools/debugserver/source/RNBRemote.cpp @@ -5863,7 +5863,7 @@ RNBRemote::HandlePacket_qProcessInfo (const char *p) DNBLogThreadedIf (LOG_RNB_PROC, "LC_VERSION_MIN_MACOSX -> 'ostype:macosx;'"); break; -#if defined (TARGET_OS_TV) && TARGET_OS_TV == 1 +#if defined (LC_VERSION_MIN_TVOS) case LC_VERSION_MIN_TVOS: os_handled = true; rep << "ostype:tvos;"; @@ -5871,7 +5871,7 @@ RNBRemote::HandlePacket_qProcessInfo (const char *p) break; #endif -#if defined (TARGET_OS_WATCH) && TARGET_OS_WATCH == 1 +#if defined (LC_VERSION_MIN_WATCHOS) case LC_VERSION_MIN_WATCHOS: os_handled = true; rep << "ostype:watchos;"; |