1*7c5b55ffSguenther /* $OpenBSD: endian.h,v 1.6 2014/07/12 16:25:08 guenther Exp $ */ 23180e169Smiod 33180e169Smiod /*- 43180e169Smiod * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. 53180e169Smiod * 63180e169Smiod * Redistribution and use in source and binary forms, with or without 73180e169Smiod * modification, are permitted provided that the following conditions 83180e169Smiod * are met: 93180e169Smiod * 1. Redistributions of source code must retain the above copyright 103180e169Smiod * notice, this list of conditions and the following disclaimer. 113180e169Smiod * 2. Redistributions in binary form must reproduce the above copyright 123180e169Smiod * notice, this list of conditions and the following disclaimer in the 133180e169Smiod * documentation and/or other materials provided with the distribution. 143180e169Smiod * 153180e169Smiod * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 163180e169Smiod * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 173180e169Smiod * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 183180e169Smiod * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 193180e169Smiod * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 203180e169Smiod * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 213180e169Smiod * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 223180e169Smiod * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 233180e169Smiod * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 243180e169Smiod * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 253180e169Smiod */ 263180e169Smiod 272fa72412Spirofti #ifndef _M88K_ENDIAN_H_ 282fa72412Spirofti #define _M88K_ENDIAN_H_ 293180e169Smiod 3052a0e603Smillert #define _BYTE_ORDER _BIG_ENDIAN 313180e169Smiod #define __STRICT_ALIGNMENT 323180e169Smiod 33*7c5b55ffSguenther #ifndef __FROM_SYS__ENDIAN 34*7c5b55ffSguenther #include <sys/endian.h> 35*7c5b55ffSguenther #endif 36*7c5b55ffSguenther 372fa72412Spirofti #endif /* _M88K_ENDIAN_H_ */ 383180e169Smiod 39