  #if defined(__CYGWIN32__) || defined(__MINGW32__)
  
  int WOWatchDogApplicationMain
-@@ -39,201 +60,894 @@
+@@ -39,201 +60,900 @@
  #include <time.h>
  #include <string.h>
  

+      rc = 0;
+    }
+    else {
+      pidFile = [ud objectForKey: @"WOPidFile"];
+      if (!pidFile)
+        pidFile = [NSString stringWithFormat: @"/var/run/%@/%@.pid",
+                            [processInfo processName],
+                            [processInfo processName]];
+      if (_writePid(pidFile)) {
+        respawnDelay = [ud integerForKey: @"WORespawnDelay"];
+        if (!respawnDelay)
+          respawnDelay = 5;

   }
 #endif
   
@@ -446,8 +1055,8 @@
     
     ud = [NSUserDefaults standardUserDefaults];
     sd = [defClass hackInServerDefaults:ud
