9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] POSIX_SOURCE vs POSIX_C_SOURCE (ape stdlib.h)
@ 2021-09-25  3:49 Jens Staal
  2021-09-25  4:03 ` ori
  0 siblings, 1 reply; 2+ messages in thread
From: Jens Staal @ 2021-09-25  3:49 UTC (permalink / raw)
  To: 9front

Everywhere else in APE it is ifdef _POSIX_SOURCE but in stdlib.h there is
one instance of _POSIX_C_SOURCE is this intentional?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9front] POSIX_SOURCE vs POSIX_C_SOURCE (ape stdlib.h)
  2021-09-25  3:49 [9front] POSIX_SOURCE vs POSIX_C_SOURCE (ape stdlib.h) Jens Staal
@ 2021-09-25  4:03 ` ori
  0 siblings, 0 replies; 2+ messages in thread
From: ori @ 2021-09-25  4:03 UTC (permalink / raw)
  To: 9front

Quoth Jens Staal <staal1978@gmail.com>:
> Everywhere else in APE it is ifdef _POSIX_SOURCE but in stdlib.h there is
> one instance of _POSIX_C_SOURCE is this intentional?

They're different:

https://man7.org/linux/man-pages/man7/feature_test_macros.7.html

We probably don't use them right, but you'll have to read the
relevant specs to figure out what 'right' means.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-25  4:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-25  3:49 [9front] POSIX_SOURCE vs POSIX_C_SOURCE (ape stdlib.h) Jens Staal
2021-09-25  4:03 ` ori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).