summaryrefslogtreecommitdiff
path: root/gcc/vec.c
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-01 20:57:20 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-01 20:57:20 +0000
commitc169e46cf8c235b63234ec81acc92c60108ec0dc (patch)
treed7dec8e90275b123a2a3f7d5deb08469c901c1f2 /gcc/vec.c
parent70630fcd0038f62da8ec0ef7953286a73c312f44 (diff)
downloadgcc-c169e46cf8c235b63234ec81acc92c60108ec0dc.tar.gz
* vec.c: Include bconfig.h when appropriate.
* Makefile.in (build/vec.o): Adjust dependencies. * mkconfig.sh: Make sure config.h isn't used for build machine compiles. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113432 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/vec.c')
-rw-r--r--gcc/vec.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/vec.c b/gcc/vec.c
index b6a1d784088..5d5687475ec 100644
--- a/gcc/vec.c
+++ b/gcc/vec.c
@@ -1,5 +1,5 @@
/* Vector API for GNU compiler.
- Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
Contributed by Nathan Sidwell <nathan@codesourcery.com>
This file is part of GCC.
@@ -19,7 +19,14 @@ along with GCC; see the file COPYING. If not, write to the Free
Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA. */
+/* This file is compiled twice: once for the generator programs
+ once for the compiler. */
+#ifdef GENERATOR_FILE
+#include "bconfig.h"
+#else
#include "config.h"
+#endif
+
#include "system.h"
#include "ggc.h"
#include "vec.h"