fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 5 Oct 2009 06:40:40 +0000 (06:40 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 5 Oct 2009 06:40:40 +0000 (06:40 +0000)
src/util/service.c

index 8803490739b6b22bb0cae1e6aa21dc4c9624724d..cef085f03687050b47a25dd29656ebd71406e7e9 100644 (file)
@@ -1121,11 +1121,11 @@ service_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 static int
 detach_terminal (struct GNUNET_SERVICE_Context *sctx)
 {
+#ifndef MINGW 
   pid_t pid;
   int nullfd;
   int filedes[2];
 
-#ifndef MINGW
   if (0 != PIPE (filedes))
     {
       GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR, "pipe");