| author | Ingo Weinhold <ingo_weinhold@gmx.de> | 2008-03-23 1:17:40.0 +00:00:00 |
|---|---|---|
| committer | Ingo Weinhold <ingo_weinhold@gmx.de> | 2008-03-23 1:17:40.0 +00:00:00 |
| commit | db0b7f077cbaca0cb5a1e5d8fbaa0e960e94e451 [patch] |
|
| tree | f9f5c5b57943a8469b6bdd3157674ea0cba2c7ff |
|
| parent | f40fa15314e729d3a78eb3351a0bd67011cd2e5e |
|
| download | db0b7f077cbaca0cb5a1e5d8fbaa0e960e94e451.tar.gz |
|
* Define POSIX for Haiku. * Remove superfluous BSD string function macros.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24529 a95241bf-73f2-0310-859d-f6bbb57e9c96
Diff
legacy/gcc/gcc/configure.in | 1 + legacy/gcc/gcc/config/i386/xm-haiku.h | 17 ----------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/legacy/gcc/gcc/configure.in b/legacy/gcc/gcc/configure.in index 13e07fd..12eaf85 100644 --- a/legacy/gcc/gcc/configure.in +++ b/legacy/gcc/gcc/configure.in @@ -1166,6 +1166,7 @@ i[3456789]86-*-haiku*) changequote([,])dnl xm_file=i386/xm-haiku.h xm_defines="USG HAVE_ATEXIT POSIX" tmake_file='i386/t-haiku i386/t-crtpic' tm_file=i386/haiku.h xmake_file=i386/x-haiku diff --git a/legacy/gcc/gcc/config/i386/xm-haiku.h b/legacy/gcc/gcc/config/i386/xm-haiku.h index 40fb7a8..655dffa 100644 --- a/legacy/gcc/gcc/config/i386/xm-haiku.h +++ b/legacy/gcc/gcc/config/i386/xm-haiku.h @@ -34,23 +34,6 @@ #define ONLY_INT_FIELDS /* use ANSI/SYSV style byte manipulation routines instead of BSD ones */ #undef bcopy #define bcopy(s,d,n) memmove((d),(s),(n)) #undef bzero #define bzero(d,n) memset((d),0,(n)) #undef bcmp #define bcmp(l,r,n) memcmp((l),(r),(n)) #undef index #define index strchr #undef rindex #define rindex strrchr /* Haiku is closer to USG than BSD */ #define USG /* Define various things that the Haiku host has. */ #ifndef HAVE_VPRINTF