[libxml2] remove HAVE_CONFIG_H dependency in testlimits.c



commit f3efaba30e92efa2fc5efe1de924dfe0e2fa325b
Author: Roumen Petrov <bugtrack roumenpetrov info>
Date:   Wed Sep 19 00:10:55 2012 +0300

    remove HAVE_CONFIG_H dependency in testlimits.c

 testlimits.c        |    3 ---
 win32/Makefile.msvc |    2 +-
 2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/testlimits.c b/testlimits.c
index 609064d..577f593 100644
--- a/testlimits.c
+++ b/testlimits.c
@@ -10,11 +10,8 @@
  * daniel 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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]