Parcourir la source

patch strptime warning -- reduce portability!

svn:r511
Roger Dingledine il y a 20 ans
Parent
commit
e7e858d0d1
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      src/or/routers.c

+ 5 - 0
src/or/routers.c

@@ -7,6 +7,11 @@
 #define OR_SIGNATURE_BEGIN_TAG "-----BEGIN SIGNATURE-----\n"
 #define OR_SIGNATURE_END_TAG "-----END SIGNATURE-----\n"
 
+#define _GNU_SOURCE
+/* XXX this is required on rh7 to make strptime not complain. how bad
+ * is this for portability?
+ */
+
 #include "or.h"
 
 /****************************************************************************/