summaryrefslogtreecommitdiff
path: root/lib/get-rusage-as.c
diff options
context:
space:
mode:
authorDaniel Richard G <skunk@iSKUNK.ORG>2016-08-17 16:55:13 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-08-17 17:44:56 -0700
commit74e641c2e51562304bebbd69bbe0919be027ccde (patch)
treebf1cd740b918c33e7a16e8ab53e175947ac78136 /lib/get-rusage-as.c
parent17b66f6152d4e398aa6ef35d644a00fe56bdb67c (diff)
downloadgnulib-74e641c2e51562304bebbd69bbe0919be027ccde.tar.gz
maint: preprocessor changes to support z/OS
* lib/alloca.in.h, lib/fnmatch.c, lib/get-rusage-as.c: * lib/glob.c, lib/math.in.h, lib/ptsname_r.c: * tests/infinity.h, tests/nan.h, tests/test-canonicalize-lgpl.c: * tests/test-nonblocking-pipe.h:
Diffstat (limited to 'lib/get-rusage-as.c')
-rw-r--r--lib/get-rusage-as.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/get-rusage-as.c b/lib/get-rusage-as.c
index 2e2d084bf5..fb05b191b2 100644
--- a/lib/get-rusage-as.c
+++ b/lib/get-rusage-as.c
@@ -355,7 +355,7 @@ get_rusage_as_via_iterator (void)
uintptr_t
get_rusage_as (void)
{
-#if (defined __APPLE__ && defined __MACH__) || defined _AIX || defined __CYGWIN__ /* Mac OS X, AIX, Cygwin */
+#if (defined __APPLE__ && defined __MACH__) || defined _AIX || defined __CYGWIN__ || defined __MVS__ /* Mac OS X, AIX, Cygwin, z/OS */
/* get_rusage_as_via_setrlimit() does not work.
Prefer get_rusage_as_via_iterator(). */
return get_rusage_as_via_iterator ();