summaryrefslogtreecommitdiff
path: root/m68k-unknown-amigaos/recipes/patches/gcc/libiberty.pex-unix.c.p
blob: b90f69e16ded92ef7b84b0572c8470b9962e029b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- gcc-3.4.6/libiberty/pex-unix.c	2003-01-24 21:02:11.000000000 +0100
+++ 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 ();