aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2011-05-05 02:21:09 +0200
committerSebastian Hahn <sebastian@torproject.org>2011-05-05 02:22:46 +0200
commit9a490bb53b98efa4cec721a80fe5fec94c554c1f (patch)
treefbc0af1fd3ce6e98c649ea48a5fb9f90e15554f2
parent68ae5afa5a172fbc485eda7e6bfd4750fa6a69f5 (diff)
downloadtor-9a490bb53b98efa4cec721a80fe5fec94c554c1f.tar
tor-9a490bb53b98efa4cec721a80fe5fec94c554c1f.tar.gz
Fix compile warning on windows
-rw-r--r--src/or/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 462b51e78..7bae59ce0 100644
--- a/src/or/main.c
+++ b/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