components/stdcxx/patches/027-exception.h.patch
author John Beck <John.Beck@Oracle.COM>
Thu, 15 Aug 2013 13:38:30 -0700
changeset 1442 dfa14f95f572
parent 402 94ae4d75524c
permissions -rw-r--r--
17312751 procmail license needs to match ARN 17264868 procmail lists dependency on obsolete shell/ksh package

--- stdcxx-4.2.1/include/exception.h	2009-06-08 10:13:00.142092000 -0400
+++ stdcxx-4.2.1/include/exception.h	2007-05-03 05:51:01.000000000 -0400
@@ -0,0 +1,29 @@
+/*
+        Copyright 07/02/98 Sun Microsystems, Inc. All Rights Reserved
+*/
+/* exception.h
+
+   @(#)exception.h	1.2  07/02/98 11:32:35
+
+   Compatibility declaration for ISO standard exception interface
+*/
+
+#ifndef EXCEPTION_H
+#define EXCEPTION_H
+
+#include <exception>
+#include <new>
+
+using std::exception;
+using std::bad_exception;
+using std::set_unexpected;
+using std::unexpected;
+using std::set_terminate;
+using std::terminate;
+
+typedef std::exception xmsg;
+typedef std::bad_exception xunexpected;
+
+typedef std::bad_alloc xalloc;
+
+#endif