summaryrefslogtreecommitdiff
path: root/config.mak.uname
diff options
context:
space:
mode:
authorMatt Kraai <matt.kraai@amo.abbott.com>2013-02-11 22:03:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-02-11 22:33:04 (GMT)
commit081fd8d093887b0cc5055d8a191ae2c26274846b (patch)
treea5376dee8a17b6a4a286ff21277c577967ab3ff4 /config.mak.uname
parentaa3982890fe7506badfddf6252402a335a4d72b7 (diff)
downloadgit-081fd8d093887b0cc5055d8a191ae2c26274846b.zip
git-081fd8d093887b0cc5055d8a191ae2c26274846b.tar.gz
git-081fd8d093887b0cc5055d8a191ae2c26274846b.tar.bz2
Allow building with xmlparse.h
expat 1.1 and 1.2 provide xmlparse.h instead of expat.h. Include the former on systems that define the EXPAT_NEEDS_XMLPARSE_H variable and define that variable on QNX systems, which ship with expat 1.1. Signed-off-by: Matt Kraai <matt.kraai@amo.abbott.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.mak.uname')
-rw-r--r--config.mak.uname1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mak.uname b/config.mak.uname
index bea34f0..8743a6d 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -523,6 +523,7 @@ endif
endif
ifeq ($(uname_S),QNX)
COMPAT_CFLAGS += -DSA_RESTART=0
+ EXPAT_NEEDS_XMLPARSE_H = YesPlease
HAVE_STRINGS_H = YesPlease
NEEDS_SOCKET = YesPlease
NO_FNMATCH_CASEFOLD = YesPlease