endian.h revision 70651
170651Sobrien/* 270651Sobrien * Copyright (c) 2001 David E. O'Brien 370651Sobrien * 470651Sobrien * Redistribution and use in source and binary forms, with or without 570651Sobrien * modification, are permitted provided that the following conditions 670651Sobrien * are met: 770651Sobrien * 1. Redistributions of source code must retain the above copyright 870651Sobrien * notice, this list of conditions and the following disclaimer. 970651Sobrien * 2. Redistributions in binary form must reproduce the above copyright 1070651Sobrien * notice, this list of conditions and the following disclaimer in the 1170651Sobrien * documentation and/or other materials provided with the distribution. 1270651Sobrien * 3. Neither the name of the University nor the names of its contributors 1370651Sobrien * may be used to endorse or promote products derived from this software 1470651Sobrien * without specific prior written permission. 1570651Sobrien * 1670651Sobrien * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1770651Sobrien * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1870651Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1970651Sobrien * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2070651Sobrien * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2170651Sobrien * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2270651Sobrien * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2370651Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2470651Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2570651Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2670651Sobrien * SUCH DAMAGE. 2770651Sobrien * 2870651Sobrien * @(#)endian.h 8.1 (Berkeley) 6/10/93 2970651Sobrien * $NetBSD: endian.h,v 1.7 1999/08/21 05:53:51 simonb Exp $ 3070651Sobrien * $FreeBSD: head/sys/arm/include/endian.h 70651 2001-01-04 05:23:06Z obrien $ 3170651Sobrien */ 3270651Sobrien 3370651Sobrien#ifndef _ENDIAN_H_ 3470651Sobrien#define _ENDIAN_H_ 3570651Sobrien 3670651Sobrien#define BYTE_ORDER LITTLE_ENDIAN 3770651Sobrien 3870651Sobrien#endif /* !_ENDIAN_H_ */ 39