mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-07 00:21:28 +03:00
* configure.in: Don't create a faked malloc.h.
* gtkedit/edit.h: Don't assume that malloc.h always exists. * src/mad.h: Likewise.
This commit is contained in:
parent
c5404ae9cb
commit
7bee992ba2
@ -1,5 +1,9 @@
|
|||||||
2001-01-13 Pavel Roskin <proski@gnu.org>
|
2001-01-13 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* configure.in: Don't create a faked malloc.h.
|
||||||
|
* gtkedit/edit.h: Don't assume that malloc.h always exists.
|
||||||
|
* src/mad.h: Likewise.
|
||||||
|
|
||||||
* configure.in: Simplified handling of cons.saver.
|
* configure.in: Simplified handling of cons.saver.
|
||||||
* src/Makefile.in: Likewise. Don't install cons.saver setuid.
|
* src/Makefile.in: Likewise. Don't install cons.saver setuid.
|
||||||
* mc.spec.in: Remove a workaround for the above.
|
* mc.spec.in: Remove a workaround for the above.
|
||||||
|
@ -78,10 +78,6 @@ AC_PROG_INSTALL
|
|||||||
AC_CHECK_HEADERS(unistd.h string.h memory.h crypt.h grp.h limits.h malloc.h)
|
AC_CHECK_HEADERS(unistd.h string.h memory.h crypt.h grp.h limits.h malloc.h)
|
||||||
AC_CHECK_HEADERS(stdlib.h termios.h utime.h fcntl.h sys/statfs.h)
|
AC_CHECK_HEADERS(stdlib.h termios.h utime.h fcntl.h sys/statfs.h)
|
||||||
|
|
||||||
if test x$ac_cv_header_malloc_h = xno; then
|
|
||||||
echo '/* NeXTStep malloc.h stub */' > $srcdir/malloc.h
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_HEADER_SYS_WAIT
|
AC_HEADER_SYS_WAIT
|
||||||
AC_HEADER_DIRENT
|
AC_HEADER_DIRENT
|
||||||
AC_SHORT_D_NAME_LEN
|
AC_SHORT_D_NAME_LEN
|
||||||
|
@ -45,7 +45,9 @@
|
|||||||
# include <fcntl.h>
|
# include <fcntl.h>
|
||||||
|
|
||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
# include <malloc.h>
|
# ifdef HAVE_MALLOC_H
|
||||||
|
# include <malloc.h>
|
||||||
|
# endif
|
||||||
|
|
||||||
#else /* ! MIDNIGHT */
|
#else /* ! MIDNIGHT */
|
||||||
|
|
||||||
|
@ -3,7 +3,9 @@
|
|||||||
|
|
||||||
/* To prevent molesting these files with the malloc/calloc/free macros. */
|
/* To prevent molesting these files with the malloc/calloc/free macros. */
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <malloc.h>
|
#ifdef HAVE_MALLOC_H
|
||||||
|
# include <malloc.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MAD
|
#ifdef HAVE_MAD
|
||||||
# define INLINE
|
# define INLINE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user