summaryrefslogtreecommitdiff
path: root/libexpat/libexpat
diff options
context:
space:
mode:
Diffstat (limited to 'libexpat/libexpat')
-rw-r--r--libexpat/libexpat/buildfile8
-rw-r--r--libexpat/libexpat/expat_config.h4
2 files changed, 5 insertions, 7 deletions
diff --git a/libexpat/libexpat/buildfile b/libexpat/libexpat/buildfile
index ef06a2e..c20e977 100644
--- a/libexpat/libexpat/buildfile
+++ b/libexpat/libexpat/buildfile
@@ -1,11 +1,13 @@
# file : libexpat/buildfile
# license : MIT; see accompanying COPYING file
+lib{expat}: libul{expat}
+
# xmltok_{impl,nc}.c files are included into xmltok.c, so exclude them from
# the compilation.
#
-lib{expat}: h{*} c{* -xmltok_impl -xmltok_ns}
-lib{expat}: c{xmltok_impl xmltok_ns}: include = false
+{libul libue}{expat}: h{*} c{* -xmltok_impl -xmltok_ns}
+{libul libue}{expat}: c{xmltok_impl xmltok_ns}: include = false
tclass = $c.target.class
@@ -21,7 +23,7 @@ libs{expat}: def{libexpat}: include = $msvc_runtime
# Build options.
#
-c.poptions += -DHAVE_EXPAT_CONFIG_H
+c.poptions += -DHAVE_EXPAT_CONFIG_H -DXML_BUILDING_EXPAT
if! $msvc_runtime
c.poptions += -DXML_ENABLE_VISIBILITY=1
diff --git a/libexpat/libexpat/expat_config.h b/libexpat/libexpat/expat_config.h
index 38ae39b..6eb5496 100644
--- a/libexpat/libexpat/expat_config.h
+++ b/libexpat/libexpat/expat_config.h
@@ -5,10 +5,6 @@
#ifndef LIBEXPAT_EXPAT_CONFIG_H
#define LIBEXPAT_EXPAT_CONFIG_H
-/* Note that on Windows the library source files include winconfig.h that
- * includes this header, additionally adding the Windows-specific definitions.
- */
-
/* Endianess.
*/
#ifdef __FreeBSD__