summaryrefslogtreecommitdiff
path: root/devel/stlport/files/patch-stlport::stdexcept
blob: f4c9637703803f6c428da8f71066c1207ba6aef0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- stlport/stdexcept.orig	Thu Jun  6 23:31:29 2002
+++ stlport/stdexcept	Thu Jun  6 23:31:57 2002
@@ -49,6 +49,11 @@
 
 _STLP_BEGIN_NAMESPACE
 
+/* 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)