changeset 70921:77206b6b6ec5

(main, Fdump_emacs): Don't test __linux or __linux__.
author Richard M. Stallman <rms@gnu.org>
date Thu, 25 May 2006 16:27:30 +0000
parents fdc3645af42f
children 329ad40a4c40
files src/emacs.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Thu May 25 15:11:10 2006 +0000
+++ b/src/emacs.c	Thu May 25 16:27:30 2006 +0000
@@ -1753,7 +1753,7 @@
      GNU/Linux.  It might work on some other systems too.  Give it a
      try and tell us if it works on your system.  To compile for
      profiling use something like `make CFLAGS="-pg -g -O -DPROFILING=1'.  */
-#if defined (__FreeBSD__) || defined (__linux)
+#if defined (__FreeBSD__) || defined (GNU_LINUX)
 #ifdef PROFILING
   if (initialized)
     {
@@ -2232,7 +2232,7 @@
   if (! noninteractive)
     error ("Dumping Emacs works only in batch mode");
 
-#ifdef __linux__
+#ifdef GNU_LINUX
   if (heap_bss_diff > MAX_HEAP_BSS_DIFF)
     {
       fprintf (stderr, "**************************************************\n");
@@ -2244,7 +2244,7 @@
       fprintf (stderr, "exec-shield in etc/PROBLEMS for more information.\n");
       fprintf (stderr, "**************************************************\n");
     }
-#endif /* __linux__ */
+#endif /* GNU_LINUX */
 
   /* Bind `command-line-processed' to nil before dumping,
      so that the dumped Emacs will process its command line