summaryrefslogtreecommitdiffstats
path: root/config/gcc-stl-wrapper.template.h
diff options
context:
space:
mode:
Diffstat (limited to 'config/gcc-stl-wrapper.template.h')
-rw-r--r--config/gcc-stl-wrapper.template.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/gcc-stl-wrapper.template.h b/config/gcc-stl-wrapper.template.h
index 44fa8397d..9b4a61d24 100644
--- a/config/gcc-stl-wrapper.template.h
+++ b/config/gcc-stl-wrapper.template.h
@@ -10,7 +10,7 @@
// For some reason, Apple's GCC refuses to honor -fno-exceptions when
// compiling ObjC.
-#if defined(__EXCEPTIONS) && __EXCEPTIONS && !(__OBJC__ && __GNUC__)
+#if defined(__EXCEPTIONS) && __EXCEPTIONS && !(__OBJC__ && __GNUC__ && XP_IOS)
# error "STL code can only be used with -fno-exceptions"
#endif