Mercurial > hg > CbC > CbC_gcc
diff gcc/config/vxworksae.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | a06113de4d67 |
children | 04ced10e8804 |
line wrap: on
line diff
--- a/gcc/config/vxworksae.h Tue May 25 18:58:51 2010 +0900 +++ b/gcc/config/vxworksae.h Tue Mar 22 17:18:12 2011 +0900 @@ -1,5 +1,5 @@ /* Common VxWorks AE target definitions for GNU compiler. - Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 2004, 2005, 2007, 2010 Free Software Foundation, Inc. Contributed by CodeSourcery, LLC. This file is part of GCC. @@ -55,3 +55,16 @@ #define VXWORKS_STARTFILE_SPEC "" #define VXWORKS_KIND VXWORKS_KIND_AE + +/* Both kernels and RTPs have the facilities required by this macro. */ +#define TARGET_POSIX_IO + +/* A VxWorks 653 implementation of TARGET_OS_CPP_BUILTINS. */ +#define VXWORKS_OS_CPP_BUILTINS() \ + do \ + { \ + builtin_define ("__vxworks"); \ + builtin_define ("__VXWORKS__"); \ + } \ + while (0) +