mirror of
https://review.haiku-os.org/buildtools
synced 2025-01-18 12:28:37 +01:00
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:
parent
5effaca78b
commit
aa62780422
@ -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
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user