components/stdcxx/patches/027-exception.h.patch
author Rich Burridge <rich.burridge@oracle.com>
Mon, 18 Jul 2016 12:16:42 -0700
changeset 6428 5ab2dde6d87d
parent 402 94ae4d75524c
permissions -rw-r--r--
22089914 Upgrade MUTT to latest version (fix build)

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