Fixed a character pointer bug
[fw/sdcc] / 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