Nick Wellnhofer
30c8d9bb23
http: Simplify IPv6 checks
...
This should also enable IPv6 support on Windows. Untested and mostly
useless anyway, since we don't support HTTPS.
2022-09-05 02:26:13 +02:00
Nick Wellnhofer
9e5a016ef0
autotools: Fix network checks on Windows
2022-09-05 01:25:35 +02:00
Nick Wellnhofer
b094e814fa
Remove broken Windows CE support
2022-03-01 00:02:59 +01:00
Nick Wellnhofer
d3de757825
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.
2019-01-15 12:33:48 +01:00
Nick Wellnhofer
45b0ebdc8d
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.
2017-10-09 13:57:42 +02:00
Nick Wellnhofer
5b2324b6e0
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.
2017-10-09 13:49:36 +02:00
Daniel Veillard
8fc913fcc9
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
2012-06-06 11:29:29 +08:00
Thomas Lemm
066c697772
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 )
2012-05-09 18:27:04 +08:00
Daniel Veillard
48b3eb22c2
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
2009-03-25 09:51:19 +00:00
Rob Richards
c3e2435a9d
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
2008-04-09 17:49:09 +00:00
Daniel Veillard
73dd71ecdd
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
2006-02-09 09:08:46 +00:00
Daniel Veillard
affb8688da
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
2006-01-04 09:55:16 +00:00
Rob Richards
cb418de04d
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).
2005-10-13 23:12:42 +00:00
Igor Zlatkovic
9524c2325d
outsourced WinSock compatibility macros
2002-09-29 17:53:19 +00:00