comparison src/s/linux.h @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents 8d2a9b52c682
children 360340f9fd5f
comparison
equal deleted inserted replaced
69:804d1389bcd6 70:131b0175ea99
234 #define HAVE_XRMSETDATABASE 234 #define HAVE_XRMSETDATABASE
235 #endif 235 #endif
236 236
237 /* XEmacs addition: */ 237 /* XEmacs addition: */
238 /* Linux defines these in <values.h>, but they can't be used in #if's 238 /* Linux defines these in <values.h>, but they can't be used in #if's
239 Include values.h now so that we don't get complaints if it's included 239 Include values.h now so that we don't get complaints if it's included later. */
240 later. This loses with glibc-2 (libc-6) */
241
242 /* # include <features.h> */
243 #if 0
244 #if !(defined (__GLIBC__) && (__GLIBC__ >= 2))
245 240
246 #include <values.h> 241 #include <values.h>
247 #undef SHORTBITS 242 #undef SHORTBITS
248 #undef INTBITS 243 #undef INTBITS
249 #undef LONGBITS 244 #undef LONGBITS
250 245
251 #endif
252 #endif
253 /* The regex.o routines are a part of the GNU C-library used with Linux. */ 246 /* The regex.o routines are a part of the GNU C-library used with Linux. */
254 /* However, sometimes they disagree with the src/regex.h that comes with Emacs, 247 /* However, sometimes they disagree with the src/regex.h that comes with Emacs,
255 and that can make trouble in etags.c because it gets the regex.h from Emacs 248 and that can make trouble in etags.c because it gets the regex.h from Emacs
256 and the function definitions in libc. So turn this off. */ 249 and the function definitions in libc. So turn this off. */
257 /* XEmacs: in any case, Mule uses different regex routines. */ 250 /* XEmacs: in any case, Mule uses different regex routines. */
287 lots of possibility of fuckup. */ 280 lots of possibility of fuckup. */
288 #define SIGIO_REQUIRES_SEPARATE_PROCESS_GROUP 281 #define SIGIO_REQUIRES_SEPARATE_PROCESS_GROUP
289 #endif 282 #endif
290 /* XEmacs: removed setpgrp() definition because we use setpgid() when 283 /* XEmacs: removed setpgrp() definition because we use setpgid() when
291 it's available, and autodetect it. */ 284 it's available, and autodetect it. */
292
293 /* glibc fuckage */
294 #if defined __GLIBC__ && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || __GLIBC__ > 2)
295 # define GETPGRP_NEEDS_ARG
296 #endif