Sfoglia il codice sorgente

windows already has a CALLBACK macro...

Nick Mathewson 10 anni fa
parent
commit
8af5afedc9
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/or/main.c

+ 1 - 0
src/or/main.c

@@ -1233,6 +1233,7 @@ get_signewnym_epoch(void)
 static int periodic_events_initialized = 0;
 
 /* Declare all the timer callback functions... */
+#undef CALLBACK
 #define CALLBACK(name) \
   static int name ## _callback(time_t, const or_options_t *)
 CALLBACK(rotate_onion_key);