| /*************************************************************************** |
| * |
| * _config-eccp.h - EDG eccp configuration definitions |
| * |
| * This is an internal header file used to implement the C++ Standard |
| * Library. It should never be #included directly by a program. |
| * |
| * $Id$ |
| * |
| *************************************************************************** |
| * |
| * Copyright 2005-2006 The Apache Software Foundation or its licensors, |
| * as applicable. |
| * |
| * Copyright 1994-2006 Rogue Wave Software. |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| * |
| **************************************************************************/ |
| |
| // identify the EDG eccp standalone front-end in order to help avoid |
| // confusing it with compilers such as Compaq C++, Intel C++, or SGI |
| // MIPSpro, that use the front-end and (sometimes) #define __EDG__ |
| #define _RWSTD_EDG_ECCP |
| |
| #if defined (_RWSTD_REENTRANT) && !defined (_RWSTD_POSIX_THREADS) |
| # define _RWSTD_POSIX_THREADS |
| #endif // (_RWSTD_REENTRANT) && !(_RWSTD_POSIX_THREADS) |
| |
| #undef _RWSTD_NO_NEW_HEADER |
| #undef _RWSTD_NO_LIBC_IN_STD |
| |
| #ifndef _RWSTD_NO_EXPORT |
| # undef _RWSTD_NO_IMPLICIT_INCLUSION |
| #endif |
| |
| // the vanilla front-end doesn't actually #include the header, |
| // but it treats it specially instead, which throws off the test |
| #undef _RWSTD_ANSI_C_STDARG_H |
| #define _RWSTD_ANSI_C_STDARG_H <stdarg.h> |
| |
| #ifdef _RWSTD_REENTRANT |
| // std::uncaught_exception() not thread-safe in the front-end demo |
| # define _RWSTD_NO_UNCAUGHT_EXCEPTION |
| #endif // _RWSTD_REENTRANT |
| |
| #ifndef _RWSTD_NO_MBSTATE_T |
| # define _RWSTD_NO_MBSTATE_T |
| #endif // _RWSTD_NO_MBSTATE_T |