Skip to content

Commit 481f68a

Browse files
committed
Disable usage of Expat's config.h.
1 parent 1dbb1ca commit 481f68a

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Modules/expat/xmlparse.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ See the file COPYING for copying permission.
99
# include "expat.h"
1010
# undef XMLPARSEAPI
1111
#else
12+
#ifdef HAVE_CONFIG_H
1213
#include <config.h>
14+
#endif
1315

1416
#ifdef __declspec
1517
# define XMLPARSEAPI(type) __declspec(dllexport) type __cdecl

Modules/expat/xmlrole.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ static char RCSId[]
99
#ifdef COMPILED_FROM_DSP
1010
# include "winconfig.h"
1111
#else
12+
#ifdef HAVE_CONFIG_H
1213
# include <config.h>
14+
#endif
1315
#endif /* ndef COMPILED_FROM_DSP */
1416

1517
#include "xmlrole.h"

Modules/expat/xmltok.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ See the file COPYING for copying permission.
66
#ifdef COMPILED_FROM_DSP
77
# include "winconfig.h"
88
#else
9+
#ifdef HAVE_CONFIG_H
910
# include <config.h>
11+
#endif
1012
#endif /* ndef COMPILED_FROM_DSP */
1113

1214
#include "xmltok.h"

0 commit comments

Comments
 (0)