[Top][All Lists]

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

[sr #111067] Darwin OS versions & API version

From: Sevan Janiyan
Subject: [sr #111067] Darwin OS versions & API version
Date: Sun, 19 May 2024 09:20:57 -0400 (EDT)


                 Summary: Darwin OS versions & API version
                   Group: Autoconf
               Submitter: sevan
               Submitted: Sun 19 May 2024 01:20:57 PM UTC
                Priority: 5 - Unprioritized
                Severity: 1 - Wish
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: Mac OS


Follow-up Comments:

Date: Sun 19 May 2024 01:20:57 PM UTC By: Sevan Janiyan <sevan>
Apple includes AvailabilityMacros.h for targeting OS versions with
header has been a part of Darwin since 6.x (OS X 10.2) and a more recent
Availability.h for API availabilty based on targeted OS version (which OS
version an API was introduced & deprecated), since Darwin 9 (OS X 10.5).
A common idiom is to do an ifdef dance for __APPLE__ && __MACH__ before
including these headers. Could autoconf probe for them by default and provide
a symbol since they are a standard part of the OS and have been around for
some time. It would make it easier for autoconf users & folks who package for
Darwin to patch software.


Reply to this item at:


Message sent via Savannah

reply via email to

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