Index: /trunk/ntripserver/ntripserver.c
===================================================================
--- /trunk/ntripserver/ntripserver.c	(revision 10680)
+++ /trunk/ntripserver/ntripserver.c	(revision 10681)
@@ -911,5 +911,5 @@
         // Forcefully attaching socket to the local port
         int opt = 1;
-#ifndef WINDOWSVERSION
+#ifdef WINDOWSVERSION
         if (setsockopt(socket_tcp, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)))  {
             perror("ERROR: setsockopt");
