emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/s/gnu-linux.h


From: Dave Love
Subject: [Emacs-diffs] Changes to emacs/src/s/gnu-linux.h
Date: Fri, 24 Jan 2003 07:22:01 -0500

Index: emacs/src/s/gnu-linux.h
diff -c emacs/src/s/gnu-linux.h:1.86 emacs/src/s/gnu-linux.h:1.87
*** emacs/src/s/gnu-linux.h:1.86        Thu Feb  7 06:11:35 2002
--- emacs/src/s/gnu-linux.h     Fri Jan 24 07:22:01 2003
***************
*** 251,256 ****
--- 251,259 ----
  /* address@hidden says that -lipc is not a separate library,
     since libc-4.4.1.  So -lipc was deleted.  */
  #define LIBS_SYSTEM
+ /* _BSD_SOURCE is redundant, at least in glibc2, since we define
+    _GNU_SOURCE.  Left in in case it's relevant to libc5 systems and
+    anyone's still using Emacs on those.  --fx 2002-12-14  */
  #define C_SWITCH_SYSTEM -D_BSD_SOURCE
  #endif
  
***************
*** 332,344 ****
  /* Tell that garbage collector that setjmp is known to save all
     registers relevant for conservative garbage collection in the
     jmp_buf.  */
! /* m68k and alpha aren't tested, but there are Debian packages for SCM
!    and/or Guile on them, so the technique must work.  */
! 
  /* Don't use #cpu here since in newest development versions of GCC,
     we must call cpp with -traditional, and that disables #cpu.  */
  
! #if defined __i386__ || defined __sparc__ || defined __mc68000__ || defined 
__alpha__
  #define GC_SETJMP_WORKS 1
  #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
  #ifdef __mc68000__
--- 335,351 ----
  /* Tell that garbage collector that setjmp is known to save all
     registers relevant for conservative garbage collection in the
     jmp_buf.  */
! /* Not all the architectures are tested, but there are Debian packages
!    for SCM and/or Guile on them, so the technique must work.  See also
!    comments in alloc.c concerning setjmp and gcc.  Fixme:  it's
!    probably safe to make this conditional just on GCC, except for ia64
!    register window-flushing.  */
  /* Don't use #cpu here since in newest development versions of GCC,
     we must call cpp with -traditional, and that disables #cpu.  */
  
! #if defined __i386__ || defined __sparc__ || defined __mc68000__ \
!     || defined __alpha__ || defined __mips__ || defined __s390__ \
!     || defined __arm__ || defined __powerpc__
  #define GC_SETJMP_WORKS 1
  #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
  #ifdef __mc68000__




reply via email to

[Prev in Thread] Current Thread [Next in Thread]