2
0
mirror of https://github.com/bebbo/amigaos-cross-toolchain.git synced 2025-12-08 22:38:24 +00:00
Files
amigaos-cross-toolchain6/patches/gcc-3.4.6/libiberty/pex-unix.c.diff
Krystian Bacławski cfa575b5ca Switch to gcc 3.4.6.
2013-05-19 21:39:06 +02:00

14 lines
330 B
Diff

--- gcc-3.4.6/libiberty/pex-unix.c 2003-01-24 21:02:11.000000000 +0100
+++ gcc-3.4.6-patched/libiberty/pex-unix.c 2013-05-19 20:23:32.000000000 +0200
@@ -44,6 +44,10 @@
#define waitpid(pid, status, flags) wait(status)
#endif
+#ifdef __amigaos__
+#define fork() vfork()
+#endif
+
extern int execv ();
extern int execvp ();