summaryrefslogtreecommitdiff
path: root/src/ext
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2016-06-17 13:43:25 +0000
committerNick Mathewson <nickm@torproject.org>2016-06-17 10:17:44 -0400
commit94762e37b950f3ce1696c78dd4f7a89b6d05f1ac (patch)
treee9b3517710fc601d2e7cac22d0620498cc145a0c /src/ext
parent9a63f059b9eefa910a8c74b4936623dd37e946dd (diff)
downloadtor-94762e37b950f3ce1696c78dd4f7a89b6d05f1ac.tar.gz
tor-94762e37b950f3ce1696c78dd4f7a89b6d05f1ac.zip
Use the Autoconf macro AC_USE_SYSTEM_EXTENSIONS
The Autoconf macro AC_USE_SYSTEM_EXTENSIONS defines preprocessor macros which turn on extensions to C and POSIX. The macro also makes it easier for developers to use the extensions without needing (or forgetting) to define them manually. The macro can be safely used because it was introduced in Autoconf 2.60 and Tor requires Autoconf 2.63 and above.
Diffstat (limited to 'src/ext')
-rw-r--r--src/ext/eventdns.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ext/eventdns.c b/src/ext/eventdns.c
index 7046f32eb9..f5b7723b54 100644
--- a/src/ext/eventdns.c
+++ b/src/ext/eventdns.c
@@ -50,9 +50,6 @@
#endif
#endif
-/* #define _POSIX_C_SOURCE 200507 */
-#define _GNU_SOURCE
-
#ifdef DNS_USE_CPU_CLOCK_FOR_ID
#ifdef DNS_USE_OPENSSL_FOR_ID
#error Multiple id options selected