diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-08-19 08:02:52 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-08-19 08:02:52 +0000 |
commit | d9e7859115ef1d5ec0f1c0a829b697354990a8a4 (patch) | |
tree | 384c03f0891bbd738983cd5477ac803253f7aaee /ace/CORBA_macros.h | |
parent | 03b65689794604a55162d73e8a5a4ccb5827b307 (diff) | |
download | ATCD-d9e7859115ef1d5ec0f1c0a829b697354990a8a4.tar.gz |
ChangeLogTag Fri Aug 19 07:56:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/CORBA_macros.h')
-rw-r--r-- | ace/CORBA_macros.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/ace/CORBA_macros.h b/ace/CORBA_macros.h index 252aac67a98..c50c7d9d0d2 100644 --- a/ace/CORBA_macros.h +++ b/ace/CORBA_macros.h @@ -146,17 +146,8 @@ throw EXCEPTION // Throwing an exception when the function requires a return value. -# if defined (WIN32) || defined (__HP_aCC) -# define ACE_THROW_RETURN(EXCEPTION, RETV) \ - do \ - { \ - throw EXCEPTION; \ - return RETV; \ - } while (0) -# else /* WIN32 */ -# define ACE_THROW_RETURN(EXCEPTION,RETV) \ - throw EXCEPTION -# endif /* WIN32 */ +# define ACE_THROW_RETURN(EXCEPTION,RETV) \ + throw EXCEPTION // For compilers with native exceptions, we can simply use try to try. ;-) // do {} while (0) is required to avoid compilation warnings. |