소스 검색

Merge remote-tracking branch 'sebastian/win_warning' into maint-0.2.2

Nick Mathewson 14 년 전
부모
커밋
ab1460f3ae
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/or/main.c

+ 2 - 0
src/or/main.c

@@ -1587,6 +1587,7 @@ do_main_loop(void)
   }
 }
 
+#ifndef MS_WINDOWS /* Only called when we're willing to use signals */
 /** Libevent callback: invoked when we get a signal.
  */
 static void
@@ -1598,6 +1599,7 @@ signal_callback(int fd, short events, void *arg)
 
   process_signal(sig);
 }
+#endif
 
 /** Do the work of acting on a signal received in <b>sig</b> */
 void