[MacPorts] #72407: Honor _DARWIN_C_SOURCE in 10.4 headers

MacPorts noreply at macports.org
Tue Jul 14 17:33:11 UTC 2026


#72407: Honor _DARWIN_C_SOURCE in 10.4 headers
-----------------------------+-----------------------
  Reporter:  fhgwright       |      Owner:  fhgwright
      Type:  enhancement     |     Status:  assigned
  Priority:  Low             |  Milestone:
 Component:  legacy-support  |    Version:
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+-----------------------

Comment (by fhgwright):

 In [changeset:"82e1e60b0926671be0655b545d04386a0cabcefb/macports-legacy-
 support" 82e1e60b0926671be0655b545d04386a0cabcefb/macports-legacy-support]
 (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-legacy-support"
 revision="82e1e60b0926671be0655b545d04386a0cabcefb"
 Support _DARWIN_C_SOURCE in 10.4 in some headers.

 This provides a flag in sdkversion.h for the troublesome case of
 _DARWIN_C_SOURCE on 10.4, as well as some derivative flags for common
 use cases.

 Fixes are currently applied to pthread.h, time.h, and dirent.h.

 See: https://trac.macports.org/ticket/72407

 TESTED:
 New test passes on all tested platforms, including 10.4.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/72407#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list