genericopenlibs/cppstdlib/stl/stlport/stl/_config_compat_post.h
author Pat Downey <patd@symbian.org>
Fri, 04 Jun 2010 16:20:51 +0100
changeset 31 ce057bb09d0b
child 34 5fae379060a7
permissions -rw-r--r--
Revert last code drop.

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/
/*========================================== */
#ifdef _STLP_3_COMPATIBILITY

# define __SGI_STL_PORT  _STLPORT_VERSION

# if defined (_STLP_DEBUG) && ! defined ( __STL_DEBUG )
#  define __STL_DEBUG _STLP_DEBUG
# endif

# if defined (_STLP_USE_NAMESPACES)
#  undef  __STL_USE_NAMESPACES
#  define __STL_USE_NAMESPACES _STLP_USE_NAMESPACES
# endif

# if defined (_STLP_USE_EXCEPTIONS)
#  undef  __STL_USE_EXCEPTIONS
#  define __STL_USE_EXCEPTIONS _STLP_USE_EXCEPTIONS
# endif

# if defined (_STLP_BEGIN_NAMESPACE) && ! defined ( __STL_BEGIN_NAMESPACE )
#  define __STL_BEGIN_NAMESPACE _STLP_BEGIN_NAMESPACE
#  define __STL_END_NAMESPACE _STLP_END_NAMESPACE
#  define __STL_VENDOR_STD _STLP_VENDOR_STD
#  define __STL_VENDOR_CSTD _STLP_VENDOR_CSTD
# endif
# endif

/*
# if defined (_STLP_XXX) && ! defined ( __STL_XXX )
#  define __STL_XXX _STLP_XXX
# endif
*/

/* 5.0 -> 4.6 compatibility section */
#ifdef _STLP_46_COMPATIBILITY

#ifndef  _STLP_USING_NAMESPACE_BUG
# define _STLP_USING_NAMESPACE_BUG
#endif

/* provide a uniform way to access full funclionality */
# define __slist__         slist
# define __map__           map
# define __multimap__      multimap
# define __set__           set
# define __multiset__      multiset
# define __list__          list
# define __hash_map__      hash_map
# define __hash_multimap__ hash_multimap
# define __hash_set__      hash_set
# define __hash_multiset__ hash_multiset
# define __vector__        vector

#endif