summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2017-11-29 19:47:14 +0000
committerKuba Mracek <mracek@apple.com>2017-11-29 19:47:14 +0000
commit2183c3244416dde915aab7ae4348b10b06278f1a (patch)
tree8b6d0c2150d54851eb6d98a82d162d97bc2060e8 /compiler-rt
parentd102535cf863d9247387ec31680e5ab072306c43 (diff)
downloadbcm5719-llvm-2183c3244416dde915aab7ae4348b10b06278f1a.tar.gz
bcm5719-llvm-2183c3244416dde915aab7ae4348b10b06278f1a.zip
[compiler-rt] Switch from deprecated TARGET_IPHONE_SIMULATOR to TARGET_OS_SIMULATOR
Differential Revision: https://reviews.llvm.org/D39987 llvm-svn: 319349
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
index 81d9164c312..d549827b482 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
@@ -44,7 +44,7 @@
# else
# define SANITIZER_IOS 0
# endif
-# if TARGET_IPHONE_SIMULATOR
+# if TARGET_OS_SIMULATOR
# define SANITIZER_IOSSIM 1
# else
# define SANITIZER_IOSSIM 0
OpenPOWER on IntegriCloud