summaryrefslogtreecommitdiff
path: root/libexpat/libexpat
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-02-23 10:53:11 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-02-23 15:54:50 +0300
commitdc4f5abaeb007771684f3bd7e13c1cea9bf356e6 (patch)
tree3445c3f73927eed6259cff4847044184bcb72ece /libexpat/libexpat
parentc24e3f9bed717f5c80bef1cc5b9f41236b41acc7 (diff)
Upgrade to 2.4.6
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__