X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gdb%2Fgdb_expat.h;h=aac52bcaff0ffff51aae657fd203d9cbfbc6ac2b;hb=93692b589dc7017d5a2fbdffdfad5f84f597d8f1;hp=b3301826b802395694e2e37ee75e3a722dd9f3b5;hpb=dbc981de23506195e531a1e87ad910470ce947ac;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gdb_expat.h b/gdb/gdb_expat.h index b3301826b8..aac52bcaff 100644 --- a/gdb/gdb_expat.h +++ b/gdb/gdb_expat.h @@ -1,13 +1,12 @@ /* Slightly more portable version of . - Copyright (C) 2006 - Free Software Foundation, Inc. + Copyright (C) 2006-2016 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -16,9 +15,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. */ + along with this program. If not, see . */ #if !defined(GDB_EXPAT_H) #define GDB_EXPAT_H @@ -32,4 +29,10 @@ # define XML_STATUS_ERROR 0 #endif +/* Old versions of expat do not define this macro, so define it + as void. */ +#ifndef XMLCALL +#define XMLCALL +#endif + #endif /* !defined(GDB_EXPAT_H) */