diff options
| author | Paul Eggert | 2014-09-24 13:54:25 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-09-24 13:54:25 -0700 |
| commit | 59355ea9ce310eb45b33e10f2ffaedbc4e2f47a9 (patch) | |
| tree | 9ad6afd9669937ca3b54517c2ab2528ef21144e5 /src/lisp.h | |
| parent | 203a9eb0ec0e1f28958df5fa1a49c5a7e3f4cae8 (diff) | |
| download | emacs-59355ea9ce310eb45b33e10f2ffaedbc4e2f47a9.tar.gz emacs-59355ea9ce310eb45b33e10f2ffaedbc4e2f47a9.zip | |
Default to stack objects on non-GNU/Linux, non-DOS_NT platforms.
* lisp.h (USE_STACK_LISP_OBJECTS): Also default to true
if !defined DOS_NT && !defined GNU_LINUX. I've tested this on AIX
and Solaris and it's likely to work on similar platforms.
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lisp.h b/src/lisp.h index 1fc18d5d737..dae8123de5c 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -282,13 +282,12 @@ error !; | |||
| 282 | # endif | 282 | # endif |
| 283 | #endif | 283 | #endif |
| 284 | 284 | ||
| 285 | /* This should work on GNU/Linux with GCC. Other configurations may be | 285 | /* This should work with GCC on non-DOS_NT. Clang has known problems; see |
| 286 | problematic and/or not tested yet. Clang is known to have problems, | 286 | http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00506.html. |
| 287 | see http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00506.html. | ||
| 288 | Also http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00422.html | 287 | Also http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00422.html |
| 289 | describes an issues with 32-bit MS-Windows. */ | 288 | describes an issue with 32-bit MS-Windows. */ |
| 290 | #ifndef USE_STACK_LISP_OBJECTS | 289 | #ifndef USE_STACK_LISP_OBJECTS |
| 291 | # if defined (GNU_LINUX) && defined (__GNUC__) && !defined (__clang__) | 290 | # if defined __GNUC__ && !defined __clang__ && !defined DOS_NT |
| 292 | # define USE_STACK_LISP_OBJECTS true | 291 | # define USE_STACK_LISP_OBJECTS true |
| 293 | # else | 292 | # else |
| 294 | # define USE_STACK_LISP_OBJECTS false | 293 | # define USE_STACK_LISP_OBJECTS false |