summaryrefslogtreecommitdiff
path: root/resource
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-07-20 04:01:22 +0000
committerUlrich Drepper <drepper@redhat.com>2002-07-20 04:01:22 +0000
commit48f6e9ae2de6de0ab286ac61085c4b92735fc0ab (patch)
tree6bfb966eca7faa60109468e72fc074d87d5b2fd3 /resource
parent739d440d2a748be4b0139d4e5e0a566098abfcec (diff)
downloadglibc-48f6e9ae2de6de0ab286ac61085c4b92735fc0ab.tar.gz
Update.
2002-07-18 Jakub Jelinek <jakub@redhat.com> * resource/sys/resource.h (__rlimit_resource_t, __rusage_who_t, __priority_which_t): Always typedef to int for C++.
Diffstat (limited to 'resource')
-rw-r--r--resource/sys/resource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/resource/sys/resource.h b/resource/sys/resource.h
index e64a08672c..3dd2da9291 100644
--- a/resource/sys/resource.h
+++ b/resource/sys/resource.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 94, 96, 97, 98, 99, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1992,94,96,97,98,99,2000,2002 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
@@ -35,7 +35,7 @@ __BEGIN_DECLS
`int' as the type for the first argument. When we are compiling with
GNU extensions we change this slightly to provide better error
checking. */
-#ifdef __USE_GNU
+#if defined __USE_GNU && !defined __cplusplus
typedef enum __rlimit_resource __rlimit_resource_t;
typedef enum __rusage_who __rusage_who_t;
typedef enum __priority_which __priority_which_t;