Explorar o código

windows already has a CALLBACK macro...

Nick Mathewson %!s(int64=10) %!d(string=hai) anos
pai
achega
8af5afedc9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;
 static int periodic_events_initialized = 0;
 
 
 /* Declare all the timer callback functions... */
 /* Declare all the timer callback functions... */
+#undef CALLBACK
 #define CALLBACK(name) \
 #define CALLBACK(name) \
   static int name ## _callback(time_t, const or_options_t *)
   static int name ## _callback(time_t, const or_options_t *)
 CALLBACK(rotate_onion_key);
 CALLBACK(rotate_onion_key);