summaryrefslogtreecommitdiff
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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/config/gcc-stl-wrapper.template.h b/config/gcc-stl-wrapper.template.h
index e7b01482c2..3bc65bd6ab 100644
--- a/config/gcc-stl-wrapper.template.h
+++ b/config/gcc-stl-wrapper.template.h
@@ -8,9 +8,7 @@
#ifndef mozilla_${HEADER}_h
#define mozilla_${HEADER}_h
-// For some reason, Apple's GCC refuses to honor -fno-exceptions when
-// compiling ObjC.
-#if defined(__EXCEPTIONS) && __EXCEPTIONS && !(__OBJC__ && __GNUC__ && XP_IOS)
+#if defined(__EXCEPTIONS) && __EXCEPTIONS
# error "STL code can only be used with -fno-exceptions"
#endif