<machine/endian.h> -> <sys/types.h>
This commit is contained in:
parent
bba370bbe9
commit
b47990743d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: strtod.c,v 1.22 1996/07/20 01:09:05 jtc Exp $ */
|
||||
/* $NetBSD: strtod.c,v 1.23 1996/10/13 00:07:55 christos Exp $ */
|
||||
|
||||
/****************************************************************
|
||||
*
|
||||
|
@ -92,12 +92,12 @@
|
|||
*/
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
static char *rcsid = "$NetBSD: strtod.c,v 1.22 1996/07/20 01:09:05 jtc Exp $";
|
||||
static char *rcsid = "$NetBSD: strtod.c,v 1.23 1996/10/13 00:07:55 christos Exp $";
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
|
||||
defined(__mips__) || defined(__ns32k__) || defined(__alpha__)
|
||||
#include <machine/endian.h>
|
||||
#include <sys/types.h>
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
#define IEEE_BIG_ENDIAN
|
||||
#else
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Public domain.
|
||||
*/
|
||||
|
||||
#include <machine/endian.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#if BYTE_ORDER == LITTLE_ENDIAN
|
||||
char __infinity[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f };
|
||||
|
|
Loading…
Reference in New Issue