diff --git a/src/or/main.c b/src/or/main.c index d3eb721d8a..3cf98565c8 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -196,7 +196,7 @@ free_old_inbuf(connection_t *conn) } #endif -#ifdef MS_WINDOWS +#if defined(MS_WINDOWS) && defined(USE_BUFFEREVENTS) /** Remove the kernel-space send and receive buffers for s. For use * with IOCP only. */ static int