solaris.h revision 7118
7118N/A * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. 5562N/A * Redistribution and use in source and binary forms, with or without modification, 5562N/A * are permitted provided that the following conditions are met: 5562N/A * 1. Redistributions of source code must retain the above copyright notice, 5562N/A * this list of conditions and the following disclaimer. 5562N/A * 2. Redistributions in binary form must reproduce the above copyright notice, 5562N/A * this list of conditions and the following disclaimer in the documentation 5562N/A * and/or other materials provided with the distribution. 5562N/A * 3. Neither the name of the copyright holder nor the names of its contributors 7118N/A * may be used to endorse or promote products derived from this software 7118N/A * without specific prior written permission. 5562N/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 7118N/A * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 7118N/A * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 7118N/A * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY 7118N/A * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 7118N/A * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 7118N/A * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 7118N/A * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 7118N/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 7118N/A * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 5562N/A * Endian specific conversion macros