mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
fix build under VS 2008. patch by David Wimsey
* include/win32config.h win32/Makefile.msvc: fix build under VS 2008. patch by David Wimsey svn path=/trunk/; revision=3681
This commit is contained in:
parent
c707d0b765
commit
82fbf579b2
@ -1,3 +1,8 @@
|
||||
Fri Jan 25 20:01:42 CET 2007 Rob Richards <rrichards@ctindustries.net>
|
||||
|
||||
* include/win32config.h win32/Makefile.msvc: fix build under VS 2008.
|
||||
patch by David Wimsey
|
||||
|
||||
Thu Jan 24 15:37:04 CET 2008 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* parser.c: fix a memeory leak in internal subset parsing with
|
||||
|
@ -92,7 +92,9 @@ static int isnan (double d) {
|
||||
#if defined(_MSC_VER)
|
||||
#define mkdir(p,m) _mkdir(p)
|
||||
#define snprintf _snprintf
|
||||
#if _MSC_VER < 1500
|
||||
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
|
||||
#endif
|
||||
#elif defined(__MINGW32__)
|
||||
#define mkdir(p,m) _mkdir(p)
|
||||
#endif
|
||||
|
@ -66,7 +66,7 @@ LDFLAGS = /nologo /VERSION:$(LIBXML_MAJOR_VERSION).$(LIBXML_MINOR_VERSION)
|
||||
LDFLAGS = $(LDFLAGS) /LIBPATH:$(BINDIR) /LIBPATH:$(LIBPREFIX)
|
||||
LIBS =
|
||||
!if "$(WITH_FTP)" == "1" || "$(WITH_HTTP)" == "1"
|
||||
LIBS = $(LIBS) wsock32.lib
|
||||
LIBS = $(LIBS) wsock32.lib ws2_32.lib
|
||||
!endif
|
||||
!if "$(WITH_ICONV)" == "1"
|
||||
LIBS = $(LIBS) iconv.lib
|
||||
|
Loading…
x
Reference in New Issue
Block a user