Skip to content

Commit 14c9899

Browse files
committed
[libc++] Don't try to be compatible with libstdc++ in __libcpp_refstring on iOS
1 parent 4c6b882 commit 14c9899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/src/include/refstring.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
// string singleton before manipulating the reference count. This is done so that
2626
// if an exception is created with a zero-length string in libstdc++, libc++abi
2727
// won't try to delete the memory.
28-
#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) || defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__)
28+
#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__)
2929
# define _LIBCPP_CHECK_FOR_GCC_EMPTY_STRING_STORAGE
3030
# include <dlfcn.h>
3131
# include <mach-o/dyld.h>

0 commit comments

Comments
 (0)