/**************************************************************************
*   Copyright 2000 Compaq Computer Corporation
*
*   COMPAQ Registered in U.S. Patent and Trademark Office.
*
*   Confidential computer software. Valid license from Compaq or authorized
*   sublicensor required for possession, use or copying. Consistent with
*   FAR 12.211 and 12.212, Commercial Computer Software, Computer Software
*   Documentation, and Technical Data for Commercial Items are licensed to
*   the U.S. Government under vendor's standard commercial license.
**************************************************************************/

#if !defined(_SYS_ERRNO_H_) && !defined(_ERRNO_H)
#if defined(__linux__)
#define _ERRNO_H
#else
#define _SYS_ERRNO_H_
#endif  /* __linux__ */
extern "C" {
#if defined(__linux__)
extern int *__errno_location (void);
#define errno (*__errno_location ())
#else
extern int *_errno (void);
#define errno	(*_errno())
#endif  /* __linux__ */
}

#define EDOM		33		/* Argument too large */
#define ERANGE		34		/* Result too large */
#define EILSEQ          116             /* Invalid wide character */

#endif /* _SYS_ERRNO_H_ */
