summaryrefslogtreecommitdiff
path: root/gcc/config/i386/mingw32.h
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-20 10:00:20 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-20 10:00:20 +0000
commit29b1845fd01ed2265a10d4edc120d99cd65cff76 (patch)
tree2c11e8e86d3bbf49bfda0758f76cc5eca170ef91 /gcc/config/i386/mingw32.h
parent1529d1a420d3b55a4fe4ddd8e9a5d04e7d674422 (diff)
downloadgcc-29b1845fd01ed2265a10d4edc120d99cd65cff76.tar.gz
2008-05-20 Kai Tietz <kai.tietz@onevision.com>
* config/i386/i386-protos.h (ix86_return_in_memory): Removed. (ix86_i386elf_return_in_memory): Likewise. (ix86_i386interix_return_in_memory): Likewise. * config/i386/i386-interix.h (TARGET_RETURN_IN_MEMORY): Removed. (SUBTARGET_RETURN_IN_MEMORY): New. * config/i386/i386elf.h: Likewise. * config/i386/ptx4-i.h: Likewise. * config/i386/sol2-10.h: Likewise. * config/i386/sysv4.h: Likewise. * config/i386/vx-common.h: Likewise. * config/i386/i386.h (TARGET_RETURN_IN_MEMORY): Removed. * config/i386/i386.c (ix86_return_in_memory): Made static and make use of optional SUBTARGET_RETURN_IN_MEMORY macro. (ix86_i386elf_return_in_memory): Removed. (ix86_i386interix_return_in_memory): Removed. (TARGET_RETURN_IN_MEMORY): Declared within i386.c only. * target-def.h (TARGET_RETURN_IN_MEMORY): Remove protection #ifdef. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135604 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/mingw32.h')
-rw-r--r--gcc/config/i386/mingw32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h
index 3a3b74cf8be..7628896bc6a 100644
--- a/gcc/config/i386/mingw32.h
+++ b/gcc/config/i386/mingw32.h
@@ -38,7 +38,7 @@ along with GCC; see the file COPYING3. If not see
builtin_define_std ("WINNT"); \
builtin_define_with_int_value ("_INTEGRAL_MAX_BITS", \
TYPE_PRECISION (intmax_type_node));\
- if (TARGET_64BIT_MS_ABI) \
+ if (TARGET_64BIT && DEFAULT_ABI == MS_ABI) \
{ \
builtin_define ("__MINGW64__"); \
builtin_define_std ("WIN64"); \