mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-10 09:53:39 +08:00
* sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
__rusage_who): Avoid comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE.
This commit is contained in:
parent
bb3b3056df
commit
e27433a869
@ -1,3 +1,9 @@
|
|||||||
|
2009-01-12 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
|
||||||
|
__rusage_who): Avoid comma after RUSAGE_CHILDREN if not
|
||||||
|
-D_GNU_SOURCE.
|
||||||
|
|
||||||
2009-01-12 Joseph Myers <joseph@codesourcery.com>
|
2009-01-12 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
|
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* Bit values & structures for resource limits. Linux/MIPS version.
|
/* Bit values & structures for resource limits. Linux/MIPS version.
|
||||||
Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005, 2006
|
Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2004, 2005, 2006, 2008,
|
||||||
Free Software Foundation, Inc.
|
2009 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -166,10 +166,11 @@ enum __rusage_who
|
|||||||
#define RUSAGE_SELF RUSAGE_SELF
|
#define RUSAGE_SELF RUSAGE_SELF
|
||||||
|
|
||||||
/* All of its terminated child processes. */
|
/* All of its terminated child processes. */
|
||||||
RUSAGE_CHILDREN = -1,
|
RUSAGE_CHILDREN = -1
|
||||||
#define RUSAGE_CHILDREN RUSAGE_CHILDREN
|
#define RUSAGE_CHILDREN RUSAGE_CHILDREN
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
|
,
|
||||||
/* The calling thread. */
|
/* The calling thread. */
|
||||||
RUSAGE_THREAD = 1
|
RUSAGE_THREAD = 1
|
||||||
# define RUSAGE_THREAD RUSAGE_THREAD
|
# define RUSAGE_THREAD RUSAGE_THREAD
|
||||||
|
Loading…
Reference in New Issue
Block a user