Re: Problems with #include "" vs #include <>
Re: Problems with #include "" vs #include <>
- Subject: Re: Problems with #include "" vs #include <>
- From: Diego Rey <email@hidden>
- Date: Fri, 19 Dec 2003 21:01:06 -0300
On 12/19/03 7:06 PM, "Marshall Clow" <email@hidden> wrote:
> Inside Nitrogen/CFDate.h, this is what I see:
>
> #include <CFDate.h> // Include Carbon's CFDate
This is a CoreFoundation header file. To be able to use it from Xcode just
replace it with:
#ifdef __APPLE_CC__
#include <CoreFoundation/CFDate.h>
#else
#include <CFDate.h>
#endif
Same thing goes for all other CoreFoundation or Carbon headers:
#ifdef __APPLE_CC__
#include <CoreFoundation/CFheader.h>
#include <Carbon/header.h>
#else
#include <CFheader.h>
#include <header.h>
#endif
It may be required, and is surely recommended, that you actually add the
frameworks to the project, so that you can quickly browse through the header
files.
Diego Rey
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.