File: 0001-use-default_source-instead-of-bsd_source.patch

package info (click to toggle)
stringencoders 3.10.3%2Bgit20160924-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,144 kB
  • ctags: 725
  • sloc: ansic: 17,159; cpp: 407; python: 319; makefile: 179; sh: 34
file content (21 lines) | stat: -rw-r--r-- 589 bytes parent folder | download
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>