summaryrefslogtreecommitdiff
path: root/devel/stlport/files/patch-stlport::stdexcept
blob: 41d193eca8b6184e4cca90b5ca6818db1e12fb76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- stlport/stdexcept.orig	Sun Nov  2 16:59:01 2003
+++ stlport/stdexcept	Sun Oct 31 17:05:34 2004
@@ -60,6 +60,11 @@
 # endif
 #  define _STLP_EXCEPTION_BASE exception
 
+/* maybe limit to gcc 3.x */
+#if defined( __GNUC__)
+#define _STLP_NOTHROW_INHERENTLY throw()
+#endif
+
 class _STLP_CLASS_DECLSPEC __Named_exception : public _STLP_EXCEPTION_BASE {
 public:
   __Named_exception(const string& __str)