- add netbsd id

- use endian.h to determine endianness
This commit is contained in:
christos 2004-11-07 01:12:56 +00:00
parent 008f1a9208
commit 74786d7691
1 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,5 @@
/* $NetBSD: config.h,v 1.2 2004/11/07 01:12:56 christos Exp $ */
/* config.h. Generated by configure. */
/* config.h.in. Generated from configure.in by autoheader. */
/*
@ -242,7 +244,10 @@ int sigwait(const unsigned int *set, int *sig);
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */
#include <sys/endian.h>
#if _BYTE_ORDER == _BIG_ENDIAN
#define WORDS_BIGENDIAN
#endif
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */