clogger RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH] use _POSIX_C_SOURCE=200809L
@ 2023-03-19 19:37  7% Eric Wong
  0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2023-03-19 19:37 UTC (permalink / raw)
  To: clogger-public

That's what _DEFAULT_SOURCE will set if it's respected, and
we've had POSIX 2008 goodies for 15 years, now.
---
 ext/clogger_ext/clogger.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/clogger_ext/clogger.c b/ext/clogger_ext/clogger.c
index 8cd40be..7989472 100644
--- a/ext/clogger_ext/clogger.c
+++ b/ext/clogger_ext/clogger.c
@@ -17,7 +17,7 @@
 #  include <fcntl.h>
 #endif
 #ifndef _POSIX_C_SOURCE
-#  define _POSIX_C_SOURCE 200112L
+#  define _POSIX_C_SOURCE 200809L
 #endif
 #include <time.h>
 #include <stdlib.h>

^ permalink raw reply related	[relevance 7%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2023-03-19 19:37  7% [PATCH] use _POSIX_C_SOURCE=200809L Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/clogger.git/

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 read-only IMAP folder(s) and NNTP newsgroup(s).