Some preprocessors have problems if the # character isn't at position 1.
This commit is contained in:
14
configure.ac
14
configure.ac
@@ -1618,13 +1618,13 @@ if test "$ac_cv_func_getnameinfo" = "yes"; then
|
||||
AC_CHECK_DECL(getnameinfo, ,
|
||||
AC_DEFINE(HAVE_NO_GETNAMEINFO_PROTO, 1,
|
||||
[Defined if no getnameinfo() prototype available]),
|
||||
[
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
#ifdef HAVE_NETDB_H
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
[
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
#ifdef HAVE_NETDB_H
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
])
|
||||
CURL_FUNC_GETNAMEINFO_ARGTYPES
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user