Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 173050 | Differences between
and this patch

Collapse All | Expand All

(-)src/unix.d (-1 / +1 lines)
Lines 174-180 Link Here
174
  #ifdef UNIX_AUX
174
  #ifdef UNIX_AUX
175
    #include <sys/mmu.h> /* for SHMLBA */
175
    #include <sys/mmu.h> /* for SHMLBA */
176
  #endif
176
  #endif
177
  #ifdef UNIX_LINUX
177
  #if defined(UNIX_LINUX) && !defined(UNIX_GNU)
178
    #include <asm/page.h> /* for SHMLBA on Linux 2.0 */
178
    #include <asm/page.h> /* for SHMLBA on Linux 2.0 */
179
  #endif
179
  #endif
180
  #if defined(UNIX_SUNOS4) || defined(UNIX_SUNOS5)
180
  #if defined(UNIX_SUNOS4) || defined(UNIX_SUNOS5)
(-)src/lispbibl.d (-3 / +6 lines)
Lines 376-384 Link Here
376
#if defined(UNIX_MACOSX) && defined(HAVE_MSYNC)
376
#if defined(UNIX_MACOSX) && defined(HAVE_MSYNC)
377
  #define UNIX_DARWIN  # MacOS X, a.k.a. Darwin
377
  #define UNIX_DARWIN  # MacOS X, a.k.a. Darwin
378
#endif
378
#endif
379
#if (__GLIBC__ >= 2)
380
  #define UNIX_GNU # glibc2 (may be UNIX_LINUX, UNIX_HURD or UNIX_FREEBSD)
381
#endif
382
379
383
380
384
# Choose the character set:
381
# Choose the character set:
Lines 1267-1272 Link Here
1267
1264
1268
#include <stdio.h>    /* libc i/o */
1265
#include <stdio.h>    /* libc i/o */
1269
1266
1267
# A more precise classification of the operating system:
1268
# (This test works only after at least one system header has been included.)
1269
#if (__GLIBC__ >= 2)
1270
  #define UNIX_GNU # glibc2 (may be UNIX_LINUX, UNIX_HURD or UNIX_FREEBSD)
1271
#endif
1272
1270
# Determine the offset of a component 'ident' in a struct of the type 'type':
1273
# Determine the offset of a component 'ident' in a struct of the type 'type':
1271
# See 0 as pointer to 'type', put a struct 'type' there and determine the
1274
# See 0 as pointer to 'type', put a struct 'type' there and determine the
1272
# address of its component 'ident' and return it as number:
1275
# address of its component 'ident' and return it as number:

Return to bug 173050