]> sjero.net Git - wget/blobdiff - src/mswindows.c
[svn] Several Windows-related changes.
[wget] / src / mswindows.c
index ab31e73df62f7f677e7a0e7aa841c0b70c4031c4..64a9eb95c0ca39729bcb52909be46b56acba9924 100644 (file)
@@ -90,6 +90,7 @@ ws_cleanup (void)
   WSACleanup ();
 }
 
+#if defined(CTRLBREAK_BACKGND) || defined(CTRLC_BACKGND)
 static void
 ws_hangup (const char *reason)
 {
@@ -103,6 +104,7 @@ ws_hangup (const char *reason)
      gesture as the parent will wait for us to terminate before resuming.  */
   FreeConsole ();
 }
+#endif
 
 /* Construct the name for a named section (a.k.a. `file mapping') object.
    The returned string is dynamically allocated and needs to be xfree()'d.  */