diff options
Diffstat (limited to 'libio/iofclose.c')
-rw-r--r-- | libio/iofclose.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libio/iofclose.c b/libio/iofclose.c index 04da395..43a3f58 100644 --- a/libio/iofclose.c +++ b/libio/iofclose.c @@ -30,6 +30,9 @@ #if _LIBC # include "../iconv/gconv_int.h" # include <shlib-compat.h> +#else +# define SHLIB_COMPAT(a, b, c) 0 +# define _IO_new_fclose fclose #endif int @@ -87,6 +90,8 @@ _IO_new_fclose (fp) return status; } +#ifdef _LIBC versioned_symbol (libc, _IO_new_fclose, _IO_fclose, GLIBC_2_1); strong_alias (_IO_new_fclose, __new_fclose) versioned_symbol (libc, __new_fclose, fclose, GLIBC_2_1); +#endif |