• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: time.h vs Time.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: time.h vs Time.h
  • Next by Date: Re: time.h vs Time.h
  • Previous by thread: Re: time.h vs Time.h
  • Next by thread: Re: time.h vs Time.h
  • Index(es):
    • Date
    • Thread