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: [PATCH 2/2] cygwin: make POSIX/XSI version macros dependent on feature test macros


On 2016-04-01 18:41, Craig Howland wrote:
On 04/01/2016 07:40 PM, Yaakov Selkowitz wrote:
On 2016-04-01 17:49, Yaakov Selkowitz wrote:
+#define _POSIX_VERSION (long)__POSIX_VISIBLE

Sorry, looks like I'm going to have to rework this.  So much for
simplicity... :-(

I was just typing a comment on that.  Glancing quickly at the file, it
is probably best to just add the L suffix the __POSIX_VISIBLE defines
and then those two (long) casts that I've noticed so far can just go away.

There was a wish to keep the existing __*_VISIBLE macros backwards compatible with their BSD origins, and those did not use 'L' suffixes (see the removals in commit 6ba26630e01b7ae8bcaf1d258dc7e70a87da4fcf).

--
Yaakov


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