#
cddc78ea |
| 30-Oct-2024 |
riastradh <riastradh@NetBSD.org> |
Sprinkle <sys/featuretest.h> where _*_SOURCE macros are consulted.
Otherwise, the feature tests might come out wrong. For example, header files that check for _NETBSD_SOURCE won't get the default w
Sprinkle <sys/featuretest.h> where _*_SOURCE macros are consulted.
Otherwise, the feature tests might come out wrong. For example, header files that check for _NETBSD_SOURCE won't get the default when no other _*_SOURCE macros are defined; header files that check for _POSIX_C_SOURCE might miss _XOPEN_SOURCE, which is supposed to imply a corresponding _POSIX_C_SOURCE.
PR lib/58752: various header files test _*_SOURCE macros but don't include sys/featuretest.h
show more ...
|
#
9fa41d73 |
| 21-Sep-2008 |
christos <christos@NetBSD.org> |
add missing attributes to the remaining calls, even the ones that gcc has builtin attributes for (for symmetry and consistency). In the future this might change to use compiler-neutral macros. On the
add missing attributes to the remaining calls, even the ones that gcc has builtin attributes for (for symmetry and consistency). In the future this might change to use compiler-neutral macros. On the other hand I don't know of any other compiler that provides other macros with similar functionality, so why bother?
show more ...
|