# HG changeset patch # User Richard M. Stallman # Date 1148574450 0 # Node ID 77206b6b6ec561c0b658bca59886196bdceda9b8 # Parent fdc3645af42f7150957af30b8f01a8164a28c7c2 (main, Fdump_emacs): Don't test __linux or __linux__. diff -r fdc3645af42f -r 77206b6b6ec5 src/emacs.c --- 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