discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Porting autogsdoc to OSX


From: Adam Fedor
Subject: Re: Porting autogsdoc to OSX
Date: Tue, 26 Feb 2002 09:31:57 -0700
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.7) Gecko/20020120

Marcus Müller wrote:

(besides referencing stuff that doesn't belong inside Foundation, but I think I made the point clear already). I hope you see my point now. The obstacle of portability is #include, not #import. To me there seems to be more of an ideological barrier than a mere technical problem which prevents use of #include rather than #import, but I might be wrong on this issue. That's why I asked for clarification in another email ;-)



Since we are talking about a limited number of files (in this case, only autogsdoc, and the XML parser files), and at least autogsdoc files always have '#include <Foundation/Foundation.h>', we could put in something like

#ifdef MACOSX_COMPATIBILITY
#import <Foundation/Foundation.h>
#else
#include <Foundation/Foundation.h>
#endif


--
Adam Fedor, Digital Optics Corp.      | I'm glad I hate spinach, because
http://www.doc.com                    | if I didn't, I'd eat it, and you
                                      | know how I hate the stuff.




reply via email to

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