mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
Merge branch 'GP-0_ryanmkurtz_PR-792_bennofs' (Closes #792)
This commit is contained in:
@@ -20,8 +20,32 @@
|
||||
#define __LOADIMAGE_BFD__
|
||||
|
||||
#include "loadimage.hh"
|
||||
|
||||
// bfd.h requires PACKAGE/PACKAGE_VERSION to be defined
|
||||
// https://sourceware.org/bugzilla/show_bug.cgi?id=14243
|
||||
|
||||
#ifndef PACKAGE
|
||||
#define PACKAGE
|
||||
#define __LOADIMAGE_BFD__DEFINED_PACKAGE
|
||||
#endif
|
||||
|
||||
#ifndef PACKAGE_VERSION
|
||||
#define PACKAGE_VERSION
|
||||
#define __LOADIMAGE_BFD__DEFINED_PACKAGE_VERSION
|
||||
#endif
|
||||
|
||||
#include <bfd.h>
|
||||
|
||||
#ifdef __LOADIMAGE_BFD__DEFINED_PACKAGE
|
||||
#undef PACKAGE
|
||||
#undef __LOADIMAGE_BFD__DEFINED_PACKAGE
|
||||
#endif
|
||||
|
||||
#ifdef __LOADIMAGE_BFD__DEFINED_PACKAGE_VERSION
|
||||
#undef PACKAGE_VERSION
|
||||
#undef __LOADIMAGE_BFD__DEFINED_PACKAGE_VERSION
|
||||
#endif
|
||||
|
||||
struct ImportRecord {
|
||||
string dllname;
|
||||
string funcname;
|
||||
|
||||
Reference in New Issue
Block a user