From b14203619115958913f1d1188e9b16a010a5b8dd Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 18 May 2012 10:29:11 +0000 Subject: PR 14072 * bfd-in.h: Check for PACKAGE or PACKAGE_VERSION before complaining about config.h not having been included. * bfd-in2.h: Regenerate. --- bfd/bfd-in.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bfd/bfd-in.h') diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index ae8149a2e4..a61e721565 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -25,7 +25,8 @@ #ifndef __BFD_H_SEEN__ #define __BFD_H_SEEN__ -#ifndef PACKAGE +/* PR 14072: Ensure that config.h is included first. */ +#if !defined PACKAGE && !defined PACKAGE_VERSION #error config.h must be included before this header #endif -- cgit v1.2.1