Skip to content
Snippets Groups Projects
Commit de9b76ce authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

change the order of the in_addr_t tests, so that 'unsigned long' is tested

for first, as it seems to be what many systems use
parent 1747a8d3
No related branches found
No related tags found
No related merge requests found
......@@ -152,10 +152,8 @@ AC_DEFUN([TYPE_IN_ADDR_T],
AC_MSG_CHECKING([for in_addr_t equivalent])
AC_CACHE_VAL([curl_cv_in_addr_t_equiv],
[
# Systems have either "struct sockaddr *" or
# "void *" as the second argument to getpeername
curl_cv_in_addr_t_equiv=
for t in int size_t unsigned long "unsigned long"; do
for t in "unsigned long" int size_t unsigned long; do
AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/socket.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment