fix ifdefs

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32723 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-03-28 13:57:27 +00:00
parent efb095506b
commit f11cf6ae9a
3 changed files with 8 additions and 0 deletions

View file

@ -2,6 +2,7 @@
#import <Foundation/NSObject.h>
#if defined(TESTDEV)
#if !__has_feature(objc_nonfragile_abi)
int main(void)
{
@ -64,6 +65,8 @@ int main(void)
PASS(caught == foo, "Unified exception model works correctly");
return 0;
}
#endif
#else
int main(void)
{

View file

@ -2,6 +2,7 @@
#import <Foundation/NSObject.h>
#if defined(TESTDEV)
#if !__has_feature(objc_nonfragile_abi)
int main(void)
{
@ -66,6 +67,7 @@ int main(void)
#endif
return 0;
}
#endif
#else
int main(void)
{

View file

@ -2,6 +2,7 @@
#import <Foundation/NSObject.h>
#if defined(TESTDEV)
#if !__has_feature(objc_nonfragile_abi)
int main(void)
{
@ -50,6 +51,8 @@ int main(void)
PASS(caught == foo, "Unified exception model works correctly");
return 0;
}
#endif
#else
int main(void)
{