[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: And NSLayoutManager.h too. [was: AppKit.h unconditionnaly in
From: |
Nicola Pero |
Subject: |
Re: And NSLayoutManager.h too. [was: AppKit.h unconditionnaly includes everything] |
Date: |
Mon, 25 Jun 2001 10:24:50 +0100 (BST) |
Thanks Pascal, I applied this change to CVS [main branch] also not
including NSTextStorage.
> In NSTextContainer.h, there this #ifdef/#error:
>
> #ifdef STRICT_OPENSTEP
> #error "The OpenStep specification does not define an NSTextContainer class."
> #endif
>
> However, it's unconditionnaly included by AppKit.h.
>
> I would suggest in all these cases (well it seems to be the only one)
> to add #ifndef's in AppKit.h, such as:
>
> #ifndef STRICT_OPENSTEP
> #include <AppKit/NSTextContainer.h>
> #endif
>
>
>
> Similarly for NSLayoutManager.h...