diff options
author | Zack Weinberg <zackw@panix.com> | 2016-11-27 12:36:16 -0500 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2016-11-27 12:36:16 -0500 |
commit | b964e06640f62cf523e3808b68029d398692204a (patch) | |
tree | c7abb03a1aeccbe384a0b63354d189e8951837f1 /libio | |
parent | 2dacdc5eb0171078eeb96b12b0761f533a62f70e (diff) | |
download | glibc-b964e06640f62cf523e3808b68029d398692204a.zip glibc-b964e06640f62cf523e3808b68029d398692204a.tar.gz glibc-b964e06640f62cf523e3808b68029d398692204a.tar.bz2 |
Minor problems exposed by compiling C++ tests under _ISOMAC.
* libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
* test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
Diffstat (limited to 'libio')
-rw-r--r-- | libio/libio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/libio.h b/libio/libio.h index efd09f1..f4ead83 100644 --- a/libio/libio.h +++ b/libio/libio.h @@ -353,7 +353,7 @@ typedef int __io_seek_fn (void *__cookie, _IO_off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); -#ifdef _GNU_SOURCE +#ifdef __USE_GNU /* User-visible names for the above. */ typedef __io_read_fn cookie_read_function_t; typedef __io_write_fn cookie_write_function_t; |