]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r320240:
authored <ed@FreeBSD.org>
Sat, 22 Jul 2017 14:03:20 +0000 (14:03 +0000)
committered <ed@FreeBSD.org>
Sat, 22 Jul 2017 14:03:20 +0000 (14:03 +0000)
commit96384050e436e9ae824b19d72c2125a1a6d7f6f7
tree8fa34d038800e55294a559ee4ef596a351a50b78
parentce5a9c569bd085c1bcf80b1b504ab1da8b166d97
MFC r320240:

  Use __ISO_C_VISIBLE, as opposed to testing __STDC_VERSION__.

  FreeBSD's C library uses __STDC_VERSION__ to determine whether the
  compiler provides language features specific to a certain version of the
  C standard. __ISO_C_VISIBLE is used to specify which library features
  need to be exposed.

  max_align_t currently uses __STDC_VERSION__, even though it should be
  using __ISO_C_VISIBLE to remain consistent with the rest of the headers
  in include/.
include/stddef.h