diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/emacs.c | 3 | ||||
| -rw-r--r-- | src/m/alpha.h | 5 |
3 files changed, 7 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6640bca3ab3..005540b4a79 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -26,8 +26,6 @@ | |||
| 26 | * m/intel386.h (DATA_END): | 26 | * m/intel386.h (DATA_END): |
| 27 | * m/ibmrs6000.h (DATA_END): | 27 | * m/ibmrs6000.h (DATA_END): |
| 28 | * m/alpha.h (DATA_END): Remove, unused. | 28 | * m/alpha.h (DATA_END): Remove, unused. |
| 29 | (LINUX_SBRK_BUG): Remove, move condition to the only use ... | ||
| 30 | * emacs.c (main): ... here. | ||
| 31 | 29 | ||
| 32 | * config.in: Regenerate. | 30 | * config.in: Regenerate. |
| 33 | * s/ms-w32.h (subprocesses): Define unconditionally. | 31 | * s/ms-w32.h (subprocesses): Define unconditionally. |
diff --git a/src/emacs.c b/src/emacs.c index 88ec4877316..96ae4001c39 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -827,7 +827,8 @@ main (argc, argv | |||
| 827 | heap_bss_diff = (char *)my_heap_start - max (my_endbss, my_endbss_static); | 827 | heap_bss_diff = (char *)my_heap_start - max (my_endbss, my_endbss_static); |
| 828 | } | 828 | } |
| 829 | 829 | ||
| 830 | #if defined(GNU_LINUX) && __GNU_LIBRARY__ - 0 < 6 | 830 | #ifdef LINUX_SBRK_BUG |
| 831 | /* This is only used GNU/LINUX running on alpha when using libc5 */ | ||
| 831 | __sbrk (1); | 832 | __sbrk (1); |
| 832 | #endif | 833 | #endif |
| 833 | 834 | ||
diff --git a/src/m/alpha.h b/src/m/alpha.h index 729b0ddd33d..6484241b928 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -113,6 +113,11 @@ NOTE-END | |||
| 113 | 113 | ||
| 114 | #endif /* __ELF__ */ | 114 | #endif /* __ELF__ */ |
| 115 | 115 | ||
| 116 | #if defined (GNU_LINUX) && __GNU_LIBRARY__ - 0 < 6 | ||
| 117 | /* This controls a conditional in main. */ | ||
| 118 | #define LINUX_SBRK_BUG | ||
| 119 | #endif | ||
| 120 | |||
| 116 | /* On the Alpha it's best to avoid including TERMIO since struct | 121 | /* On the Alpha it's best to avoid including TERMIO since struct |
| 117 | termio and struct termios are mutually incompatible. */ | 122 | termio and struct termios are mutually incompatible. */ |
| 118 | #define NO_TERMIO | 123 | #define NO_TERMIO |