diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-08-04 19:37:19 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2004-08-04 19:37:19 +0000 |
commit | 63c5b4952ee1141038f756fc5a44511296ad7f8e (patch) | |
tree | 3e625b8f05cee8c131162ddd24141215d432a989 /gcc/config/i386/beos-elf.h | |
parent | 564076f545d934c127dcef53c0e7c60e199cf55e (diff) | |
download | gcc-63c5b4952ee1141038f756fc5a44511296ad7f8e.zip gcc-63c5b4952ee1141038f756fc5a44511296ad7f8e.tar.gz gcc-63c5b4952ee1141038f756fc5a44511296ad7f8e.tar.bz2 |
defaults.h (TARGET_DECLSPEC): New macro.
* defaults.h (TARGET_DECLSPEC): New macro.
* c-cppbuiltin.c (c_cpp_builtins): Handle TARGET_DECLSPEC.
* config/arm/pe.h (SUBTARGET_CPP_SPEC): Remove __declspec support.
* config/arm/symbian. (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define.
* config/i386/beof-elf.h (TARGET_OS_CPP_BUILTINS): Remove
__declspec support.
(TARGET_DECLSPEC): Define.
* config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Remove
__declspec support.
* config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS): Remove
__declspec support.
(TARGET_DECLSPEC): Define.
* config/mcore/mcore.h (TARGET_CPU_CPP_BUILTINS): Remove
__declspec support.
* config/sh/symbian-pre.h (SUBTARGET_CPP_SPEC): Remove __declspec
support.
* doc/tm.texi (TARGET_DECLSPEC): Document.
* doc/extend.texi: Fix typo in comment.
From-SVN: r85571
Diffstat (limited to 'gcc/config/i386/beos-elf.h')
-rw-r--r-- | gcc/config/i386/beos-elf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/i386/beos-elf.h b/gcc/config/i386/beos-elf.h index 50c3926..b0de9bb 100644 --- a/gcc/config/i386/beos-elf.h +++ b/gcc/config/i386/beos-elf.h @@ -55,6 +55,8 @@ Boston, MA 02111-1307, USA. */ #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 16 +#define TARGET_DECLSPEC 1 + #define TARGET_OS_CPP_BUILTINS() \ do \ { \ @@ -63,7 +65,6 @@ Boston, MA 02111-1307, USA. */ builtin_define ("_X86_"); \ builtin_define ("__stdcall=__attribute__((__stdcall__))"); \ builtin_define ("__cdecl=__attribute__((__cdecl__))"); \ - builtin_define ("__declspec(x)=__attribute__((x))"); \ builtin_assert ("system=beos"); \ if (flag_pic) \ { \ |