include/wsockcompat.h


Log

Author Commit Date CI Message
Nick Wellnhofer d3de7578 2019-01-15T12:33:48 Fix nanohttp.c on MinGW Commit e3890546 broke nanohttp.c on (old) MinGW. MinGW-w64 wasn't affected. Should fix #36. Thanks to Simon Sobisch for the report.
Nick Wellnhofer 45b0ebdc 2017-10-09T00:08:10 socklen_t is always int on Windows Define XML_SOCKLEN_T as `int` unconditionally in wsockcompat.h. Fixes compiler warnings and removes some duplicated code.
Nick Wellnhofer 5b2324b6 2017-10-09T00:05:04 Don't redefine socket error codes on Windows Translate WSA error codes instead of blindly redefining POSIX error codes on Windows. The redefinitions caused warnings in modern Windows environments, but simply ifdef'ing out the redefinitions seems like the wrong approach.
Daniel Veillard 8fc913fc 2012-06-06T11:29:29 Fix compilation on older Visual Studio For https://bugzilla.gnome.org/show_bug.cgi?id=666491 Reported by Matt Budd <matt.budd@gmail.com>, the added support for VS 2010 broke older version 2005 and 2008 because it assumed some of the defines where present in all versions, fix that to check the version of VS
Thomas Lemm 066c6977 2012-05-09T18:27:04 Allow to compile with Visual Studio 2010 For https://bugzilla.gnome.org/show_bug.cgi?id=666491 This patch adds project files to compile and debug libxml2 using Visual Studio 2010. Only few minor changes have been made to the actual source code. This patch also requires for the iconv package to be compiled with visual studio 2010 which has been submitted to the iconv project (see: https://savannah.gnu.org/bugs/?35088)
Daniel Veillard 48b3eb22 2009-03-25T09:51:19 fixes for Borland/CodeGear/Embarcadero compilers by Eric Zurcher Daniel * include/wsockcompat.h win32/Makefile.bcb xpath.c: fixes for Borland/CodeGear/Embarcadero compilers by Eric Zurcher Daniel svn path=/trunk/; revision=3822
Rob Richards c3e2435a 2008-04-09T17:49:09 support older win32 platforms when building with newer versions of VS * include/wsockcompat.h: support older win32 platforms when building with newer versions of VS svn path=/trunk/; revision=3736
Daniel Veillard 73dd71ec 2006-02-09T09:08:46 patch from Eric Zurcher to compile with Borland C++ 6 Daniel * include/wsockcompat.h: patch from Eric Zurcher to compile with Borland C++ 6 Daniel
Daniel Veillard affb8688 2006-01-04T09:55:16 applied patch from Mark Junker, fixing a MinGW compilation problem, should * include/wsockcompat.h: applied patch from Mark Junker, fixing a MinGW compilation problem, should close bug #324943 Daniel
Rob Richards cb418de0 2005-10-13T23:12:42 applied patch from Kolja Nowak to use getaddrinfo() if supported in * nanohttp.c include/wsockcompat.h: applied patch from Kolja Nowak to use getaddrinfo() if supported in Windows build (bug# 317431).
Igor Zlatkovic 9524c232 2002-09-29T17:53:19 outsourced WinSock compatibility macros