Please find attached file
"0006-remove-HAVE_CONFIG_H-dependency-in-testlimits.c.patch".
The same modification was applied to other test files long time ago.
Regards,
Roumen Petrov
>From e382384e7b6b2859a71630a8e8efd25b4ba162f5 Mon Sep 17 00:00:00 2001
From: Roumen Petrov <bugtr...@roumenpetrov.info>
Date: Wed, 19 Sep 2012 00:10:55 +0300
Subject: [PATCH 06/17] remove HAVE_CONFIG_H dependency in testlimits.c
---
testlimits.c | 3 ---
win32/Makefile.msvc | 2 +-
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/testlimits.c b/testlimits.c
index 609064d..577f593 100644
--- a/testlimits.c
+++ b/testlimits.c
@@ -10,11 +10,8 @@
* dan...@veillard.com
*/
-#ifdef HAVE_CONFIG_H
#include "libxml.h"
-#else
#include <stdio.h>
-#endif
#if !defined(_WIN32) || defined(__CYGWIN__)
#include <unistd.h>
diff --git a/win32/Makefile.msvc b/win32/Makefile.msvc
index 2b3d544..d16c1a2 100644
--- a/win32/Makefile.msvc
+++ b/win32/Makefile.msvc
@@ -43,7 +43,7 @@ CPPFLAGS = $(CPPFLAGS) /D "_REENTRANT"
# The compiler and its options.
CC = cl.exe
-CFLAGS = /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "HAVE_CONFIG_H" /D "NOLIBTOOL" /W1 $(CRUNTIME)
+CFLAGS = /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "NOLIBTOOL" /W1 $(CRUNTIME)
CFLAGS = $(CFLAGS) /I$(XML_SRCDIR) /I$(XML_SRCDIR)\include /I$(INCPREFIX)
!if "$(WITH_THREADS)" != "no"
CFLAGS = $(CFLAGS) /D "_REENTRANT"
--
1.8.4
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml