/*************************************************************************\
* SPDX-License-Identifier: EPICS
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/

/*
 * Solaris version of
 * osdWireConfig.h
 *
 *  Author Jeffrey O. Hill
 *  johill@lanl.gov
 */

#ifndef osdWireConfig_h
#define osdWireConfig_h

#include <sys/isa_defs.h>

#if defined ( _LITTLE_ENDIAN )
#   define EPICS_BYTE_ORDER EPICS_ENDIAN_LITTLE
#elif defined ( _BIG_ENDIAN )
#   define EPICS_BYTE_ORDER EPICS_ENDIAN_BIG
#else
#   error EPICS has not been ported to byte order specified by <sys/isa_defs.h> on Solaris
#endif

/* for now, assume that Solaris doesn't run on weird arch like ARM NWFP */
#define EPICS_FLOAT_WORD_ORDER EPICS_BYTE_ORDER

#endif /* ifdef osdWireConfig_h */

