]> code.delx.au - gnu-emacs/commitdiff
Default to stack objects on non-GNU/Linux, non-DOS_NT platforms.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 24 Sep 2014 20:54:25 +0000 (13:54 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 24 Sep 2014 20:54:25 +0000 (13:54 -0700)
* 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.

src/ChangeLog
src/lisp.h

index 5f95c1594ef72b4aae3dd6f6bd7120833f6c1edb..ccd5e1ffa6f0b117f9408a0bb3cfe7d4d72dd011 100644 (file)
@@ -1,5 +1,10 @@
 2014-09-24  Paul Eggert  <eggert@cs.ucla.edu>
 
+       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.
+
        Avoid signed integer overflow when converting Time to ptrdiff_t.
        * keyboard.c (INPUT_EVENT_POS_MAX, INPUT_EVENT_POS_MIN):
        New macros.
index 1fc18d5d737510a2ed4d0a568dc325f15b5cb2e5..dae8123de5ce321f3ba3868a88d513e4fc42ea15 100644 (file)
@@ -282,13 +282,12 @@ error !;
 # endif
 #endif
 
-/* This should work on GNU/Linux with GCC.  Other configurations may be
-   problematic and/or not tested yet.  Clang is known to have problems,
-   see http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00506.html.
+/* This should work with GCC on non-DOS_NT.  Clang has known problems; see
+   http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00506.html.
    Also http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00422.html
-   describes an issues with 32-bit MS-Windows.  */
+   describes an issue with 32-bit MS-Windows.  */
 #ifndef USE_STACK_LISP_OBJECTS
-# if defined (GNU_LINUX) && defined (__GNUC__) && !defined (__clang__)
+# if defined __GNUC__ && !defined __clang__ && !defined DOS_NT
 #  define USE_STACK_LISP_OBJECTS true
 # else
 #  define USE_STACK_LISP_OBJECTS false