diff options
author | Glenn Morris <rgm@gnu.org> | 2012-07-11 22:14:29 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-07-11 22:14:29 -0400 |
commit | 42bd17194ca4b88032fb8b74aaf33b94b4353703 (patch) | |
tree | 341d6029243129f5c4aa1e5c6bee8ba6cc1d7e1f /src/s/aix4-2.h | |
parent | 7ccad0028b6c1ee6c694332f70cb067a8169ab1e (diff) | |
download | emacs-42bd17194ca4b88032fb8b74aaf33b94b4353703.tar.gz |
Move more things from src/s to configure
* configure.ac (BROKEN_GET_CURRENT_DIR_NAME, BROKEN_PTY_READ_AFTER_EAGAIN)
(G_SLICE_ALWAYS_MALLOC): Move here from src/s.
* src/s/freebsd.h (BROKEN_PTY_READ_AFTER_EAGAIN):
* src/s/cygwin.h (G_SLICE_ALWAYS_MALLOC):
* src/s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Let configure set them.
Diffstat (limited to 'src/s/aix4-2.h')
-rw-r--r-- | src/s/aix4-2.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h index ec7a1eeb0b8..4287eea9dcc 100644 --- a/src/s/aix4-2.h +++ b/src/s/aix4-2.h @@ -43,23 +43,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #define NO_EDITRES #endif -/* On AIX Emacs uses the gmalloc.c malloc implementation. But given - the way this system works, libc functions that return malloced - memory use the libc malloc implementation. Calling xfree or - xrealloc on the results of such functions results in a crash. - - One solution for this could be to define SYSTEM_MALLOC in configure, - but that does not currently work on this system. - - It is possible to completely override the malloc implementation on - AIX, but that involves putting the malloc functions in a shared - library and setting the MALLOCTYPE environment variable to point to - that shared library. - - Emacs currently calls xrealloc on the results of get_current_dir name, - to avoid a crash just use the Emacs implementation for that function. */ -#define BROKEN_GET_CURRENT_DIR_NAME 1 - /* Conservative garbage collection has not been tested, so for now play it safe and stick with the old-fashioned way of marking. */ #define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE |