mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
improve exception support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29898 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
19e49c3314
commit
ee25a8f059
6 changed files with 82 additions and 19 deletions
|
@ -31,6 +31,16 @@
|
|||
#ifndef __NSException_h_GNUSTEP_BASE_INCLUDE
|
||||
#define __NSException_h_GNUSTEP_BASE_INCLUDE
|
||||
#import <GNUstepBase/GSVersionMacros.h>
|
||||
#import <GNUstepBase/GSConfig.h>
|
||||
|
||||
#if defined(_NATIVE_OBJC_EXCEPTIONS)
|
||||
#define USER_NATIVE_OBC_EXCEPTIONS 1
|
||||
#else
|
||||
#define USER_NATIVE_OBC_EXCEPTIONS 0
|
||||
#endif
|
||||
#if BASE_NATIVE_OBJC_EXCEPTIONS != USER_NATIVE_OBJC_EXCEPTIONS
|
||||
#error The current setting for native-objc-exceptions does not match that of gnuste-base ... please correct this.
|
||||
#endif
|
||||
|
||||
#import <Foundation/NSString.h>
|
||||
#include <setjmp.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue