[sane-devel] Re: Darwin/MacOSX
Hubert Figuiere
hfiguiere at teaser.fr
Mon Dec 2 10:44:24 GMT 2002
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.
Hub
More information about the sane-devel
mailing list