summaryrefslogtreecommitdiff
path: root/bfd/bfd-in.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-05-18 10:29:11 +0000
committerNick Clifton <nickc@redhat.com>2012-05-18 10:29:11 +0000
commitb14203619115958913f1d1188e9b16a010a5b8dd (patch)
tree8f34069cc000b65581b3b8bb28f40d20fee48b77 /bfd/bfd-in.h
parent3edde1f89a41c0a43ddda49ffc6c30a1f76fe826 (diff)
downloadbinutils-redhat-b14203619115958913f1d1188e9b16a010a5b8dd.tar.gz
PR 14072
* bfd-in.h: Check for PACKAGE or PACKAGE_VERSION before complaining about config.h not having been included. * bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r--bfd/bfd-in.h3
1 files changed, 2 insertions, 1 deletions
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