gnustep-dev
[Top][All Lists]
Advanced

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

Re: Moving CoreBase into Base


From: Eric Wasylishen
Subject: Re: Moving CoreBase into Base
Date: Sat, 18 Sep 2010 12:45:34 -0600

Yes, I meant preface.h.in not prefix.h :-)

> Put this in Foundation.h
> 
> #ifdef GS_EXCLUDE_COREFOUNDATION_HEADERS
> #import "preface.h"
> #else
> #import <CoreFoundation/CoreFoundation.h>
> #endif
> 

preface.h is always included (via GSVersionMacros.h and GSConfig.h). Not 
including it might break something.. I think you'd just want to do this:

#ifndef GS_EXCLUDE_COREFOUNDATION_HEADERS
#import <CoreFoundation/CoreFoundation.h>
#endif

-Eric


reply via email to

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