gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Legacy applications and headers


From: Nicola Pero
Subject: Re: Legacy applications and headers
Date: Fri, 19 Mar 2004 16:09:04 +0000 (GMT)

> My request is to change these statements into:
> 
> #ifdef GNUSTEP_BASE_LIBRARY
> #include <Foundation/NSArray.h>
> #include <Foundation/NSException.h>
> #include <Foundation/NSZone.h>
> #else
> #include <Foundation/Foundation.h>
> #endif
> 
> It won't change anything in the GNUstep environment, however makes a 
> bit difference when using this on MacOSX.

I agree with the change - excellent point!, but I'd recommend to change it
into the simpler

#ifdef GNUSTEP
# include <Foundation/NSArray.h>
# include <Foundation/NSException.h>
# include <Foundation/NSZone.h>
#else
# include <Foundation/Foundation.h>
#endif

Thanks for finding this.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]