• Rémi Denis-Courmont's avatar
    live: use getaddrinfo() instead of gethostbyname() · 925de535
    Rémi Denis-Courmont authored
    gethostbyname() is not thread-safe.
    
    This patch is not used in Windows. getaddrinfo() requires XP, and
    gethostbyname is thread-safe with Winsock.
    (cherry picked from commit 9fb933d3)
    
    Conflicts:
    
    	extras/contrib/src/Makefile
    
    Please be more careful when you resolve conflicts! Prior to this patch,
    contrib would not build on non-Windows.
    925de535
Makefile 81.6 KB