소스 검색

windows already has a CALLBACK macro...

Nick Mathewson 10 년 전
부모
커밋
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);