mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-26 00:37:43 +03:00
remove HAVE_CONFIG_H dependency in testlimits.c
This commit is contained in:
committed by
Daniel Veillard
parent
c2450d8ba3
commit
f3efaba30e
@@ -10,11 +10,8 @@
|
|||||||
* daniel@veillard.com
|
* daniel@veillard.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "libxml.h"
|
#include "libxml.h"
|
||||||
#else
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(_WIN32) || defined(__CYGWIN__)
|
#if !defined(_WIN32) || defined(__CYGWIN__)
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ CPPFLAGS = $(CPPFLAGS) /D "_REENTRANT"
|
|||||||
|
|
||||||
# The compiler and its options.
|
# The compiler and its options.
|
||||||
CC = cl.exe
|
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)
|
CFLAGS = $(CFLAGS) /I$(XML_SRCDIR) /I$(XML_SRCDIR)\include /I$(INCPREFIX)
|
||||||
!if "$(WITH_THREADS)" != "no"
|
!if "$(WITH_THREADS)" != "no"
|
||||||
CFLAGS = $(CFLAGS) /D "_REENTRANT"
|
CFLAGS = $(CFLAGS) /D "_REENTRANT"
|
||||||
|
|||||||
Reference in New Issue
Block a user