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>
This commit is contained in:
committed by
Junio C Hamano
parent
aa3982890f
commit
081fd8d093
@ -11,7 +11,11 @@
|
||||
#include "list-objects.h"
|
||||
#include "sigchain.h"
|
||||
|
||||
#ifdef EXPAT_NEEDS_XMLPARSE_H
|
||||
#include <xmlparse.h>
|
||||
#else
|
||||
#include <expat.h>
|
||||
#endif
|
||||
|
||||
static const char http_push_usage[] =
|
||||
"git http-push [--all] [--dry-run] [--force] [--verbose] <remote> [<head>...]\n";
|
||||
|
||||
Reference in New Issue
Block a user