Patches for building a cross compiler under FreeBSD. Proposed by

Alexander Deynichenko, changed a bit though.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@16178 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2006-02-01 00:28:59 +00:00
parent 5effaca78b
commit aa62780422
4 changed files with 10 additions and 0 deletions

View File

@ -85,7 +85,9 @@ call_ ## FUNC (void) \
#if defined(OBJECT_FORMAT_ELF) && defined(HAVE_LD_EH_FRAME_HDR) \
&& !defined(inhibit_libc) && !defined(CRTSTUFFT_O) \
&& defined(__GLIBC__) && __GLIBC__ >= 2
#if !(defined(__BEOS__) || defined(__HAIKU__))
#include <link.h>
#endif
# if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \
|| (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG)))
# define USE_PT_GNU_EH_FRAME

View File

@ -79,6 +79,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
BeOS threads with -D_BEOS_THREADS
*/
#include <limits.h>
#include <OS.h>
#include <TLS.h>

View File

@ -79,6 +79,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
Haiku threads with -D_HAIKU_THREADS
*/
#include <limits.h>
#include <OS.h>
#include <TLS.h>

View File

@ -49,6 +49,10 @@
#include <stdint.h> // For int64_t
#endif
#ifdef __BEOS__
#include <inttypes.h> // BeOS has <inttypes.h>, but hasn't <stdint.h>
#endif
namespace std
{
// The types streamoff, streampos and wstreampos and the class