diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-08-17 09:35:15 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-08-17 09:35:15 -0700 |
commit | c75ccd4c3a84993ea392f23f2cf75f7274e22cc1 (patch) | |
tree | 49f67c33b43674aa355a7c1931ccdbbdf2e4ce31 /libio | |
parent | d9195db871b11e139050dfa00e333ca8b2f7a677 (diff) | |
download | glibc-c75ccd4c3a84993ea392f23f2cf75f7274e22cc1.tar.gz |
Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.
Diffstat (limited to 'libio')
-rw-r--r-- | libio/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libio/Makefile b/libio/Makefile index 02efe1b3a3..c555dd0004 100644 --- a/libio/Makefile +++ b/libio/Makefile @@ -70,14 +70,14 @@ routines += oldiofopen oldiofdopen oldiofclose oldiopopen oldpclose \ oldiofsetpos64 endif -ifneq (,$(filter %REENTRANT, $(defines))) +ifeq (yes,$(libc-reentrant)) routines += clearerr_u feof_u ferror_u fputc_u getc_u getchar_u \ iofflush_u putc_u putchar_u peekc iofread_u iofwrite_u iofgets_u \ iofputs_u - -CPPFLAGS += -D_IO_MTSAFE_IO endif +CPPFLAGS += $(libio-mtsafe) + # Support for exception handling. CFLAGS-fileops.c = $(exceptions) CFLAGS-fputc.c = $(exceptions) |