]> git.sur5r.net Git - cc65/commitdiff
Update by Stefan Haubenthal
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 28 Nov 2003 15:57:24 +0000 (15:57 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 28 Nov 2003 15:57:24 +0000 (15:57 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2690 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cl65/spawn-amiga.inc

index 4f0565c2e9f8b59458568b247749032872bdccfb..ade63ef7e7c47657ef09a5341b3bb6cf23eb2dbb 100644 (file)
 
 
 
-#include <stdio.h>
-#include <clib/dos_protos.h>
+/*****************************************************************************/
+/*                                  Data                                    */
+/*****************************************************************************/
+
+
+
+/* Mode argument for spawn. This value is ignored by the function and only
+ * provided for DOS/Windows compatibility.
+ */
+#ifndef P_WAIT
+#define P_WAIT 0
+#endif
 
 
 
@@ -64,7 +74,7 @@ int spawnvp (int Mode attribute ((unused)),
     SB_Terminate (&Command);
 
     /* Invoke the shell to execute the command */
-    Status = System (SB_GetConstBuf (&Command), TAG_END)
+    Status = system (SB_GetConstBuf (&Command));
 
     /* Free the string buf data */
     DoneStrBuf (&Command);