diff options
Diffstat (limited to 'libio/Makefile')
-rw-r--r-- | libio/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libio/Makefile b/libio/Makefile index e4df6b545e..355a79a0e5 100644 --- a/libio/Makefile +++ b/libio/Makefile @@ -36,6 +36,15 @@ routines := \ \ libc_fatal +include ../Makeconfig + +ifneq (,$(filter %REENTRANT, $(defines))) +routines += clearerr_u feof_u ferror_u fputc_u getc_u getchar_u \ + iofflush_u putc_u putchar_u ioflockfile + +CPPFLAGS += -D_IO_MTSAFE_IO +endif + aux := \ cleanup fileops genops stdfiles stdio strops |