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

9front - general discussion about 9front

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/9front

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 9front 9front/ https://inbox.vuxu.org/9front \
		9front@9front.org
	public-inbox-index 9front

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.9front


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git