~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to lib/config.hin

  • Committer: Colin Watson
  • Date: 2013-10-30 15:48:33 UTC
  • mfrom: (8.3.5 sid)
  • Revision ID: cjwatson@canonical.com-20131030154833-xdt6e1yfffqom1c4
merge from Debian 8.21-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
 
136
136
/* Enable compile-time and run-time bounds-checking, and some warnings,
137
137
      without upsetting glibc 2.15+. */
138
 
   #if defined __OPTIMIZE__ && __OPTIMIZE__
 
138
   #if !defined _FORTIFY_SOURCE && defined __OPTIMIZE__ && __OPTIMIZE__
139
139
   # define _FORTIFY_SOURCE 2
140
140
   #endif
141
141
  
248
248
#undef GNULIB_FSCANF
249
249
 
250
250
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
251
 
   whether the gnulib module fstatat shall be considered present. */
252
 
#undef GNULIB_FSTATAT
253
 
 
254
 
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
255
251
   whether the gnulib module getcwd shall be considered present. */
256
252
#undef GNULIB_GETCWD
257
253
 
287
283
#undef GNULIB_SNPRINTF
288
284
 
289
285
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
 
286
   whether the gnulib module statat shall be considered present. */
 
287
#undef GNULIB_STATAT
 
288
 
 
289
/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
290
290
   whether the gnulib module strerror shall be considered present. */
291
291
#undef GNULIB_STRERROR
292
292
 
3024
3024
# endif
3025
3025
#endif
3026
3026
 
3027
 
/* Enable large inode numbers on Mac OS X.  */
3028
 
#ifndef _DARWIN_USE_64_BIT_INODE
3029
 
# define _DARWIN_USE_64_BIT_INODE 1
3030
 
#endif
 
3027
/* Enable large inode numbers on Mac OS X 10.5. */
 
3028
#undef _DARWIN_USE_64_BIT_INODE
3031
3029
 
3032
3030
/* Number of bits in a file offset, on hosts where this is settable. */
3033
3031
#undef _FILE_OFFSET_BITS
3121
3119
     when FOO is an inline function in the header; see
3122
3120
     <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113>.
3123
3121
   _GL_INLINE_HEADER_END contains useful stuff to put
3124
 
     in the same include file, after uses of _GL_INLINE.  */
3125
 
#if (__GNUC__ \
3126
 
     ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
3127
 
     : 199901L <= __STDC_VERSION__)
 
3122
     in the same include file, after uses of _GL_INLINE.
 
3123
 
 
3124
   Suppress the use of extern inline on Apple's platforms,
 
3125
   as Libc-825.25 (2012-09-19) is incompatible with it; see
 
3126
   <http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00023.html>.
 
3127
   Perhaps Apple will fix this some day.  */
 
3128
#if ((__GNUC__ \
 
3129
      ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
 
3130
      : 199901L <= __STDC_VERSION__) \
 
3131
     && !defined __APPLE__)
3128
3132
# define _GL_INLINE inline
3129
3133
# define _GL_EXTERN_INLINE extern inline
3130
 
#elif 2 < __GNUC__ + (7 <= __GNUC_MINOR__)
 
3134
#elif 2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __APPLE__
3131
3135
# if __GNUC_GNU_INLINE__
3132
3136
   /* __gnu_inline__ suppresses a GCC 4.2 diagnostic.  */
3133
3137
#  define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
3136
3140
# endif
3137
3141
# define _GL_EXTERN_INLINE extern
3138
3142
#else
3139
 
# define _GL_INLINE static inline
3140
 
# define _GL_EXTERN_INLINE static inline
 
3143
# define _GL_INLINE static _GL_UNUSED
 
3144
# define _GL_EXTERN_INLINE static _GL_UNUSED
3141
3145
#endif
3142
3146
 
3143
3147
#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__)