aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-05-18 10:29:12 +0000
committerNick Clifton <nickc@redhat.com>2012-05-18 10:29:12 +0000
commit0bee45d9e7432d8e5e4a38124827bf9c3b22f017 (patch)
tree6dbeb05c50672cac09da1ac0f8650f53e67344e7 /bfd/bfd-in2.h
parent9ff2f2af640248393919bd3036017422e9d37702 (diff)
downloadgdb-0bee45d9e7432d8e5e4a38124827bf9c3b22f017.zip
gdb-0bee45d9e7432d8e5e4a38124827bf9c3b22f017.tar.gz
gdb-0bee45d9e7432d8e5e4a38124827bf9c3b22f017.tar.bz2
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-in2.h')
-rw-r--r--bfd/bfd-in2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 275f977..7535483 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -32,7 +32,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