mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Remove __ASSUME_CLONE_THREAD_FLAGS.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2003 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2003-2012 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -25,9 +25,7 @@
|
||||
return. It might still be in the kernel when the cancellation
|
||||
request comes. Therefore we have to use the clone() calls ability
|
||||
to have the kernel write the PID into the user-level variable. */
|
||||
#ifdef __ASSUME_CLONE_THREAD_FLAGS
|
||||
# define FORK() \
|
||||
#define FORK() \
|
||||
INLINE_CLONE_SYSCALL (CLONE_PARENT_SETTID | SIGCHLD, 0, &pid, NULL, NULL)
|
||||
#endif
|
||||
|
||||
#include "../system.c"
|
||||
|
Reference in New Issue
Block a user