diff options
Diffstat (limited to 'libc')
| -rw-r--r-- | libc/sysdeps/linux/mips/clone.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/clone.S b/libc/sysdeps/linux/mips/clone.S index 65ac8b16a..aba2f7cbb 100644 --- a/libc/sysdeps/linux/mips/clone.S +++ b/libc/sysdeps/linux/mips/clone.S @@ -20,6 +20,9 @@ /* clone() is even more special than fork() as it mucks with stacks and invokes a function in the right context after its all over. */ +#ifdef __UCLIBC_HAS_THREADS_NATIVE__ +#define RESET_PID +#endif #include <sys/asm.h> #include <sysdep.h> #define _ERRNO_H 1 |
