* revert 37775, as the define has a wrong value and it's probably better to do stuff like this somewhere in our libc headers.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37779 a95241bf-73f2-0310-859d-f6bbb57e9c96
Diff
gcc/gcc/config/arm/haiku.h | 3 +--
gcc/gcc/config/i386/haiku.h | 1 -
gcc/gcc/config/i386/haiku64.h | 6 ++----
gcc/gcc/config/mips/haiku.h | 1 -
gcc/gcc/config/rs6000/haiku.h | 1 -
legacy/gcc/gcc/config/i386/haiku.h | 1 -
6 files changed, 3 insertions(+), 10 deletions(-)
@@ -63,7 +63,6 @@
instead of by pointer. */ \
builtin_define ("__GXX_MERGED_TYPEINFO_NAMES=0"); \
\
builtin_define ("__STDC_ISO_10646__"); \
TARGET_BPABI_CPP_BUILTINS(); \
} \
while (0)
@@ -76,5 +75,5 @@
#undef LINK_SPEC
#define LINK_SPEC "%{!o*:-o %b} -m armelf -shared -no-undefined -Bsymbolic %{nostart:-e 0} \
%{mbig-endian:-EB} %{mlittle-endian:-EL} -X"
%{mbig-endian:-EB} %{mlittle-endian:-EL} -X"
@@ -46,7 +46,6 @@
instead of by pointer. */ \
builtin_define ("__GXX_MERGED_TYPEINFO_NAMES=0"); \
builtin_define ("__GXX_TYPEINFO_EQUALITY_INLINE=0"); \
builtin_define ("__STDC_ISO_10646__"); \
} \
while (0)
@@ -27,9 +27,9 @@
#endif
/* The SVR4 ABI for the i386 says that records and unions are returned
* in memory.
* in memory.
*
* TODO: Linux64 doesn't use pcc_struct_return scheme. Does haiku?
* TODO: Linux64 doesn't use pcc_struct_return scheme. Does haiku?
* If not this could be removed.
*/
#undef DEFAULT_PCC_STRUCT_RETURN
@@ -54,7 +54,6 @@
instead of by pointer. */ \
builtin_define ("__GXX_MERGED_TYPEINFO_NAMES=0"); \
builtin_define ("__GXX_TYPEINFO_EQUALITY_INLINE=0"); \
builtin_define ("__STDC_ISO_10646__"); \
} \
while (0)
#else
@@ -73,7 +72,6 @@
instead of by pointer. */ \
builtin_define ("__GXX_MERGED_TYPEINFO_NAMES=0"); \
builtin_define ("__GXX_TYPEINFO_EQUALITY_INLINE=0"); \
builtin_define ("__STDC_ISO_10646__"); \
} \
while (0)
#endif
@@ -44,7 +44,6 @@
instead of by pointer. */ \
builtin_define ("__GXX_MERGED_TYPEINFO_NAMES=0"); \
builtin_define ("__GXX_TYPEINFO_EQUALITY_INLINE=0"); \
builtin_define ("__STDC_ISO_10646__"); \
} \
while (0)
@@ -50,7 +50,6 @@
instead of by pointer. */ \
builtin_define ("__GXX_MERGED_TYPEINFO_NAMES=0"); \
builtin_define ("__GXX_TYPEINFO_EQUALITY_INLINE=0"); \
builtin_define ("__STDC_ISO_10646__"); \
} \
while (0)
@@ -159,7 +159,6 @@
-D__stdcall=__attribute__((__stdcall__)) \
-D__cdecl=__attribute__((__cdecl__)) \
-D__declspec(x)=__attribute__((x)) \
-D__STDC_ISO_10646__ \
-Asystem(haiku)"
#undef CPP_SPEC