RE: time.h vs Time.h
RE: time.h vs Time.h
- Subject: RE: time.h vs Time.h
- From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
- Date: Wed, 25 Aug 2004 12:38:31 -0400
- Thread-topic: time.h vs Time.h
I'm on a cross-platform team as well, so I understand how it goes. Try
the following:
#ifdef __APPLE__
# include </usr/include/time.h>
#else
# include <time.h>
#endif
I don't know if that will solve your particular problem, but it works on
the ones that I deal with on a regular basis.
Thanks,
Cem Karan
> Message: 9
> To: email@hidden
> From: Massimo Marino <email@hidden>
> Subject: time.h vs Time.h
> Date: Wed, 25 Aug 2004 16:37:34 +0200
>
> Hi there,
>
> pretty new to Xcode. Am using vs 1.5 . Currently just kicking
> the tires.
>
> I came across an oddity - related to case sensitivity - and I
> wondered
> if there is a workaround.
>
> On a C++ file in a Xcode project for building a shared
> library there is
> a
>
> #include <time.h>
>
> Xcode complains that the file Base/Time.h (where Base/Time.h
> is within
> the project - with multiple targets - in the Base directory)
> cannot be
> found. Is there a way to tell Xcode that the file in question is
> /usr/include/time.h and not be confused?
> If I remove reference to the Base group in the project then Xcode
> proceeds.
>
> Is this going to bite a lot? Any way to force looking into
> system files
> (after all it is a <time.h> and not a "time.h" )
>
> Searched extensively into Xcode documentation but found absolutely
> nothing on the subject.
_______________________________________________
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.