Disabled spawn for mingw
authormichaelh <michaelh@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 26 Mar 2000 07:27:02 +0000 (07:27 +0000)
committermichaelh <michaelh@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 26 Mar 2000 07:27:02 +0000 (07:27 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@204 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/spawn.c

index 5ae213613eadec069cf2e0a07ca01cde26dceb2f..e7c271684a24024521842d8c8d4b786b946d4fd0 100644 (file)
@@ -11,6 +11,7 @@ the GPL license. e-mail: salvador@inti.gov.ar, set@computer.org
 ***************************************************************************/
 
 #ifndef __DJGPP__
+#ifndef __MINGW32__
 
 #include <unistd.h>
 #include <sys/wait.h>
@@ -64,3 +65,4 @@ int spawnvp(int mode, const char *path, char *const argv[])
  return 0;
 }
 #endif
+#endif