This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: feature macro in time.h


On 01/11/2014 08:38 PM, Joel Sherrill wrote:
Hi

Similar issue around tzname and tzset(). newlib has them
as strict ansi and glibc allows them for POSIX.

What should these be?

They are both POSIX "CX", and have been in since the beginning, so they should be (following the same convention agreed to in the "feature macros in stdlib.h" thread):
#if __POSIX_VISIBLE /* (all POSIX versions) */
(no version check needed)
Craig


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]