Fix compilation of build/*.o when using C++.
[official-gcc.git] / gcc / vecprim.h
blobe9ccc52bcb09e93142973e30dd7ed5750f297e66
1 /* VEC types for primitive types
2 Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 3, or (at your option) any later
9 version.
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 #ifndef GCC_VECPRIM_H
21 #define GCC_VECPRIM_H
23 DEF_VEC_I(char);
24 DEF_VEC_ALLOC_I(char,heap);
26 typedef unsigned char uchar;
27 DEF_VEC_I(uchar);
28 DEF_VEC_ALLOC_I(uchar,heap);
29 DEF_VEC_ALLOC_I(uchar,gc);
31 DEF_VEC_I(int);
32 DEF_VEC_ALLOC_I(int,heap);
34 DEF_VEC_I(unsigned);
35 DEF_VEC_ALLOC_I(unsigned,heap);
37 #endif /* GCC_VECPRIM_H */