check for inline in configure

This commit is contained in:
Daniel Stenberg 2006-11-20 22:10:56 +00:00
parent 82424d6735
commit 1dbe8ff365
2 changed files with 1 additions and 4 deletions

View File

@ -225,6 +225,7 @@ AC_CHECK_FUNCS(poll gettimeofday select)
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_CONFIG_FILES([Makefile
src/Makefile])

View File

@ -53,10 +53,6 @@
#include <openssl/md5.h>
#endif
#ifdef __hpux
# define inline
#endif
#define LIBSSH2_ALLOC(session, count) session->alloc((count), &(session)->abstract)
#define LIBSSH2_REALLOC(session, ptr, count) ((ptr) ? session->realloc((ptr), (count), &(session)->abstract) : session->alloc((count), &(session)->abstract))
#define LIBSSH2_FREE(session, ptr) session->free((ptr), &(session)->abstract)