diff options
author | imp <imp@FreeBSD.org> | 2008-04-26 12:08:02 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2008-04-26 12:08:02 +0000 |
commit | 87785b8e3ae758d6475055fc7b9fdc1a7640aac0 (patch) | |
tree | e5f98313cf389dbc202e992c4946cbd65e89bcf4 /lib/libc/mips/gdtoa | |
parent | cea060d682520e7be22be9111ea74d28f51de01a (diff) | |
download | FreeBSD-src-87785b8e3ae758d6475055fc7b9fdc1a7640aac0.zip FreeBSD-src-87785b8e3ae758d6475055fc7b9fdc1a7640aac0.tar.gz |
Add mips support libc from the mips2-jnpr branch of perforce.
Diffstat (limited to 'lib/libc/mips/gdtoa')
-rw-r--r-- | lib/libc/mips/gdtoa/Makefile.inc | 4 | ||||
-rw-r--r-- | lib/libc/mips/gdtoa/arith.h | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/lib/libc/mips/gdtoa/Makefile.inc b/lib/libc/mips/gdtoa/Makefile.inc new file mode 100644 index 0000000..dd6268c --- /dev/null +++ b/lib/libc/mips/gdtoa/Makefile.inc @@ -0,0 +1,4 @@ +# $NetBSD: Makefile.inc,v 1.1 2006/03/15 17:35:18 kleink Exp $ +# $FreeBSD$ + +SRCS+= strtof.c diff --git a/lib/libc/mips/gdtoa/arith.h b/lib/libc/mips/gdtoa/arith.h new file mode 100644 index 0000000..8b700f8 --- /dev/null +++ b/lib/libc/mips/gdtoa/arith.h @@ -0,0 +1,10 @@ +/* $NetBSD: arith.h,v 1.1 2006/01/25 15:33:28 kleink Exp $ */ +/* $FreeBSD$ */ + +#include <machine/endian.h> + +#if BYTE_ORDER == BIG_ENDIAN +#define IEEE_BIG_ENDIAN +#else +#define IEEE_LITTLE_ENDIAN +#endif |