components/stdcxx/patches/027-exception.h.patch
author Tomas Kuthan <tomas.kuthan@oracle.com>
Wed, 20 Apr 2016 14:58:30 -0700
changeset 5823 d41c1305c674
parent 402 94ae4d75524c
permissions -rw-r--r--
22931214 upgrade OpenSSH to 7.2p2 (fix mirror)

--- 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