]> granicus.if.org Git - libevent/commitdiff
Do not define _FORTIFY_SOURCE if the platform GCC already defined it for us.
authorNick Mathewson <nickm@torproject.org>
Tue, 14 Jul 2009 19:31:20 +0000 (19:31 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 14 Jul 2009 19:31:20 +0000 (19:31 +0000)
svn:r1346

evdns.c

diff --git a/evdns.c b/evdns.c
index 11e252546cce0b19fdd116c22783e2f1425af62d..ffb100417ebfea7ee3f60e688c51352868d8cbd3 100644 (file)
--- a/evdns.c
+++ b/evdns.c
@@ -76,7 +76,9 @@
 #include <openssl/rand.h>
 #endif
 
+#ifndef _FORTIFY_SOURCE
 #define _FORTIFY_SOURCE 3
+#endif
 
 #include <string.h>
 #include <fcntl.h>