forked from Imagelibrary/binutils-gdb
* gprof.h: Don't include gconfig.h twice. Undef conflicting
PACKAGE_* defines.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2012-07-29 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* gprof.h: Don't include gconfig.h twice. Undef conflicting
|
||||||
|
PACKAGE_* defines.
|
||||||
|
|
||||||
2012-07-27 Mike Frysinger <vapier@gentoo.org>
|
2012-07-27 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* configure.in (BFD_VERSION): Run bfd/configure --version and
|
* configure.in (BFD_VERSION): Run bfd/configure --version and
|
||||||
|
|||||||
@@ -29,19 +29,15 @@
|
|||||||
#ifndef gprof_h
|
#ifndef gprof_h
|
||||||
#define gprof_h
|
#define gprof_h
|
||||||
|
|
||||||
#include "gconfig.h"
|
|
||||||
|
|
||||||
#undef PACKAGE
|
|
||||||
|
|
||||||
/* Include the BFD sysdep.h file. */
|
/* Include the BFD sysdep.h file. */
|
||||||
#include "sysdep.h"
|
#include "sysdep.h"
|
||||||
#include "bfd.h"
|
#include "bfd.h"
|
||||||
|
|
||||||
/* Undefine the BFD PACKAGE and VERSION macros before including the
|
|
||||||
gprof config.h file. */
|
|
||||||
#undef PACKAGE
|
#undef PACKAGE
|
||||||
#undef VERSION
|
#undef PACKAGE_NAME
|
||||||
|
#undef PACKAGE_STRING
|
||||||
|
#undef PACKAGE_TARNAME
|
||||||
|
#undef PACKAGE_VERSION
|
||||||
#include "gconfig.h"
|
#include "gconfig.h"
|
||||||
|
|
||||||
#ifndef MIN
|
#ifndef MIN
|
||||||
|
|||||||
Reference in New Issue
Block a user