Просмотр исходного кода

windows already has a CALLBACK macro...

Nick Mathewson 10 лет назад
Родитель
Сommit
8af5afedc9
1 измененных файлов с 1 добавлено и 0 удалено
  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);