octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is the version of MacOS available to CPP ?


From: Jordi Gutiérrez Hermoso
Subject: Re: Is the version of MacOS available to CPP ?
Date: Sun, 10 Jun 2012 07:33:18 -0400

On 09/06/2012, Ben Abbott <address@hidden> wrote:
> With MacOS 10.7.x, Apple has deprecated CGDisplayBitsPerPixel.
[snip]
> Is the version of MacOS X available to the preprocessor ?

We test for features, not for versions. If you need that function or a
replacement if it's absent, write an autoconf macro to test for it.
There have been recent examples by Carlo about how to do this for NaN
in Fortran and std::bit_and for C++.

HTH,
- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]