[sane-devel] Re: Darwin/MacOSX
Henning Meier-Geinitz
henning at meier-geinitz.de
Mon Dec 2 19:06:20 GMT 2002
Hi,
On Mon, Dec 02, 2002 at 11:44:24AM +0100, Hubert Figuiere wrote:
> On vendredi, nov 29, 2002, at 20:18 Europe/Paris, Henning Meier-Geinitz
> >As the check for dlopen is already there, can you tell us, how to
> >check for MAcOS in configure? Ok, I could write a cpp test for
> >__APPLE__ but maybe there is a nicer way.
>
> Please, check for __APPLE__ && __MACH__
> Because __APPLE__ is defined for older MacOS version. __MACH__ will be
> defined if on a Mach kernel based OS. Combination of the 2 means MacOS
> X.
Thanks for mentioning. The current code does not explicitely test for
__APPLE__ (but for some header files) but maybe it's necessary in
future.
Bye,
Henning
More information about the sane-devel
mailing list