diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/getpid.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/getpid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/getpid.c b/sysdeps/unix/sysv/linux/getpid.c index 937b1d4e11..af5db449c3 100644 --- a/sysdeps/unix/sysv/linux/getpid.c +++ b/sysdeps/unix/sysv/linux/getpid.c @@ -21,7 +21,7 @@ #include <sysdep.h> -#ifndef NOT_IN_libc +#if IS_IN (libc) static inline __attribute__((always_inline)) pid_t really_getpid (pid_t oldval); static inline __attribute__((always_inline)) pid_t @@ -48,7 +48,7 @@ really_getpid (pid_t oldval) pid_t __getpid (void) { -#ifdef NOT_IN_libc +#if !IS_IN (libc) INTERNAL_SYSCALL_DECL (err); pid_t result = INTERNAL_SYSCALL (getpid, err, 0); #else |