summaryrefslogtreecommitdiff
path: root/config/gcc-stl-wrapper.template.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-05-01 07:15:13 +0000
committerMoonchild <moonchild@palemoon.org>2021-05-01 07:15:13 +0000
commit56da7e27477d0d4669980d2ce17f3b877ea0c36c (patch)
treedb79249dc345cddddc68d9e96da05c1973bfd8b8 /config/gcc-stl-wrapper.template.h
parent0dd3424f774954627d6f53df9fb47379d9b5c871 (diff)
downloaduxp-56da7e27477d0d4669980d2ce17f3b877ea0c36c.tar.gz
Issue #1751 -- Remove XP_IOS
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