mainAutoconf - Support: sr #111067, Darwin OS versions & API...

 
 

sr #111067: Darwin OS versions & API version

Submitter:  Sevan Janiyan <sevan>
Submitted:  Sun 19 May 2024 01:20:57 PM UTC
   
 
Priority:  * 5 - Unprioritized Severity:  1 - Wish
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Operating System:  Mac OS
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 19 May 2024 01:20:57 PM UTC, original submission:  

Apple includes AvailabilityMacros.h for targeting OS versions with MAC_OS_X_VERSION_MIN_REQUIRED & MAC_OS_X_VERSION_MAX_ALLOWED macros. This 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.

Sevan Janiyan <sevan>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sevan (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code