1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Lennart Weller <lhw@ring0.de>
Date: Thu, 10 Nov 2016 12:26:54 +0100
Subject: use default_source instead of bsd_source
---
test/speedtest_numtoa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/speedtest_numtoa.c b/test/speedtest_numtoa.c
index e9239c8..65356b8 100644
--- a/test/speedtest_numtoa.c
+++ b/test/speedtest_numtoa.c
@@ -2,7 +2,7 @@
* trick gcc to accepting snprintf which is a C99-ism
*/
#define _ISOC99_SOURCE
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#define _XOPEN_SOURCE 500
#define _POSIX_C_SOURCE 200112L
#include <stdint.h>
|