diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/features.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/features.h b/include/features.h index 141c05031f..935a113a3c 100644 --- a/include/features.h +++ b/include/features.h @@ -237,17 +237,17 @@ #define __GLIBC__ 2 #define __GLIBC_MINOR__ 1 - -#if !defined __GNUC__ || __GNUC__ < 2 -/* In GCC version 2, (__extension__ EXPR) will not complain - about GCC extensions used in EXPR under -ansi or -pedantic. */ -# define __extension__ -#endif - - /* This is here only because every header file already includes this one. */ #ifndef __ASSEMBLER__ # include <sys/cdefs.h> + +/* If we don't have __REDIRECT, prototypes will be missing if + __USE_FILE_OFFSET64 but not __USE_LARGEFILE[64]. */ +# if defined __USE_FILE_OFFSET64 && !defined __REDIRECT +# define __USE_LARGEFILE +# define __USE_LARGEFILE64 +# endif + #endif /* This is here only because every header file already includes this one. */ |