Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H shall be defined if <malloc.h> header file must be included even when including <stdlib.h>.

pull/1/head
Yang Tse 19 years ago
parent 08ce30f216
commit 4e8835e782
  1. 2
      acinclude.m4

@ -193,7 +193,7 @@ AC_DEFUN([CURL_CHECK_HEADER_MALLOC], [
case "$curl_cv_need_header_malloc_h" in
yes)
AC_DEFINE_UNQUOTED(NEED_MALLOC_H, 1,
[Define to 1 if you need the malloc.h header file.])
[Define to 1 if you need the malloc.h header file even with stdlib.h])
;;
esac
fi

Loading…
Cancel
Save