On 06 Apr 2007, at 16:12, Koen van der Drift wrote:

>>> On Apr 4, 2007, at 3:24 PM, [EMAIL PROTECTED]
>>> wrote:
>>>
>>>> Anyway, the #include in question is conditional:
>>>>
>>>> #if !defined(__ppc__) && !defined(__FreeBSD__)
>>>> #include <crypt.h>
>>>> #endif
>>>>
>
>
> So how could we change the conditional so that it will work on any
> Mac?  Is there an equivalent __ppc__ for intel Macs?

As already said, the processor should be irrelevant in such issues, it
is the OS that matters (like "__FreeBSD__").
So if there is a macro like "darwin" known during the build, use that  
instead
of  __ppc__ ; else you can always use the catchall "__APPLE__"

JF

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to