402N/A-/***************************************************************************
402N/A- * cerrno - C++ Standard library interface to the ANSI C header
errno.h 402N/A+ * The contents of this file are subject to the terms of the
402N/A+ * Common Development and Distribution License (the "License").
402N/A+ * You may not use this file except in compliance with the License.
402N/A- * $Id: cerrno 550991 2007-06-26 23:58:07Z sebor $
402N/A+ * See the License for the specific language governing permissions
402N/A+ * and limitations under the License.
402N/A- ***************************************************************************
402N/A+ * When distributing Covered Code, include this CDDL HEADER in each
402N/A+ * If applicable, add the following below this CDDL HEADER, with the
402N/A+ * fields enclosed by brackets "[]" replaced with your own identifying
402N/A+ * information: Portions Copyright [yyyy] [name of copyright owner]
402N/A- * Licensed to the Apache Software Foundation (ASF) under one or more
402N/A- * contributor license agreements. See the NOTICE file distributed
402N/A- * with this work for additional information regarding copyright
402N/A- * ownership. The ASF licenses this file to you under the Apache
402N/A- * License, Version 2.0 (the "License"); you may not use this file
402N/A- * except in compliance with the License. You may obtain a copy of
402N/A- * Unless required by applicable law or agreed to in writing, software
402N/A- * distributed under the License is distributed on an "AS IS" BASIS,
402N/A- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
402N/A- * implied. See the License for the specific language governing
402N/A- * permissions and limitations under the License.
402N/A+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
402N/A+ * Use is subject to license terms.
402N/A- * Copyright 1994-2006 Rogue Wave Software.
402N/A- **************************************************************************/
402N/A-#ifndef _RWSTD_NO_PURE_C_HEADERS
402N/A-#ifndef _RWSTD_NO_DEPRECATED_C_HEADERS
402N/A-#ifndef _RWSTD_NAMESPACE_STD_OPEN
402N/A-#define _RWSTD_NAMESPACE_STD_OPEN 3
402N/A-_RWSTD_NAMESPACE (std) {
402N/A-#endif // _RWSTD_NAMESPACE_STD_OPEN
402N/A-#include _RWSTD_ANSI_C_ERRNO_H
402N/A-#if _RWSTD_NAMESPACE_STD_OPEN == 3
402N/A-# undef _RWSTD_NAMESPACE_STD_OPEN
402N/A-#endif // _RWSTD_NAMESPACE_STD_OPEN == 3
402N/A-#else // if defined (_RWSTD_NO_DEPRECATED_C_HEADERS)
402N/A-#ifndef _RWSTD_CERRNO_INCLUDED
402N/A-#define _RWSTD_CERRNO_INCLUDED
402N/A- || !defined (EDOM) || !defined (ERANGE) || !defined (EAGAIN)
402N/A-# include _RWSTD_ANSI_C_ERRNO_H
402N/A-#if !defined (_RWSTD_NO_NAMESPACE) && !defined (_RWSTD_NO_USING_LIBC_IN_STD)
402N/A-// 17.4.1.2, p5 - errno may be a macro
402N/A- // lwg issue 310 - errno shall be a macro
402N/A-#endif // !_RWSTD_NO_NAMESPACE && !_RWSTD_NO_USING_LIBC_IN_STD
402N/A-#endif // _RWSTD_CERRNO_INCLUDED
402N/A-#endif // _RWSTD_NO_DEPRECATED_C_HEADERS
402N/A-#endif // _RWSTD_NO_PURE_C_HEADERS