From d02934bba1ffc765ceb67f3fa7cddbfebadf1a07 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 27 Mar 2019 22:57:45 -0400 Subject: Replace feature test macro with _XOPEN_SOURCE For some reason the former makes snprintf disappear on macOS even though it's specified in C99??? --- dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dump.c b/dump.c index 63ebba3..f9f636f 100644 --- a/dump.c +++ b/dump.c @@ -14,7 +14,7 @@ * along with this program. If not, see . */ -#define _POSIX_C_SOURCE 2 +#define _XOPEN_SOURCE #include #include -- cgit 1.4.1