components/stdcxx/patches/027-exception.h.patch
changeset 402 94ae4d75524c
equal deleted inserted replaced
401:bf52ef48020c 402:94ae4d75524c
       
     1 --- stdcxx-4.2.1/include/exception.h	2009-06-08 10:13:00.142092000 -0400
       
     2 +++ stdcxx-4.2.1/include/exception.h	2007-05-03 05:51:01.000000000 -0400
       
     3 @@ -0,0 +1,29 @@
       
     4 +/*
       
     5 +        Copyright 07/02/98 Sun Microsystems, Inc. All Rights Reserved
       
     6 +*/
       
     7 +/* exception.h
       
     8 +
       
     9 +   @(#)exception.h	1.2  07/02/98 11:32:35
       
    10 +
       
    11 +   Compatibility declaration for ISO standard exception interface
       
    12 +*/
       
    13 +
       
    14 +#ifndef EXCEPTION_H
       
    15 +#define EXCEPTION_H
       
    16 +
       
    17 +#include <exception>
       
    18 +#include <new>
       
    19 +
       
    20 +using std::exception;
       
    21 +using std::bad_exception;
       
    22 +using std::set_unexpected;
       
    23 +using std::unexpected;
       
    24 +using std::set_terminate;
       
    25 +using std::terminate;
       
    26 +
       
    27 +typedef std::exception xmsg;
       
    28 +typedef std::bad_exception xunexpected;
       
    29 +
       
    30 +typedef std::bad_alloc xalloc;
       
    31 +
       
    32 +#endif