Commit 04161421 authored by Niels Möller's avatar Niels Möller
Browse files

(LSH_FUNC_ALLOCA): Moved inclucion of malloc.h and

check of HAVE_MALLOC_H inside #ifndef __GNUC__.

Rev: acinclude.m4:1.29
parent b8e2514c
......@@ -385,16 +385,16 @@ AH_BOTTOM(
char *alloca ();
# endif
# endif
/* Needed for alloca on windows */
# if HAVE_MALLOC_H
# include <malloc.h>
# endif
# endif
#else /* defined __GNUC__ */
# if HAVE_ALLOCA_H
# include <alloca.h>
# endif
#endif
/* Needed for alloca on windows */
#if HAVE_MALLOC_H
# include <malloc.h>
#endif
])])
AC_DEFUN([LSH_FUNC_STRERROR],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment