aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-04-29 17:13:52 -0700
committerMark Salyzyn <salyzyn@google.com>2014-04-30 00:41:30 +0000
commit3a5d1fa525bd73df0c6df0bb66829f92af791064 (patch)
tree98438616f9e048f0371574e21b01ecd8dbc0cb25
parentd76bbf049169ee5f590c26c2bc6f990f0373b418 (diff)
downloadstlport-3a5d1fa525bd73df0c6df0bb66829f92af791064.tar.gz
stlport: if we can not throw, let us abort
Change-Id: I8b9ea8d48548bd879d03e605e200c0e7e7c73948
-rw-r--r--stlport/stl/config/features.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stlport/stl/config/features.h b/stlport/stl/config/features.h
index b615041..862feec 100644
--- a/stlport/stl/config/features.h
+++ b/stlport/stl/config/features.h
@@ -843,9 +843,9 @@ namespace _STL = _STLP_STD_NAME;
# define _STLP_TRY
# define _STLP_CATCH_ALL if (false)
# ifndef _STLP_THROW
-# define _STLP_THROW(x)
+# define _STLP_THROW(x) abort()
# endif
-# define _STLP_RETHROW {}
+# define _STLP_RETHROW abort()
# define _STLP_UNWIND(action)
# define _STLP_THROWS(x)
# define _STLP_NOTHROW