genericopenlibs/cppstdlib/stl/stlport/stl/config/_intel.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: 
*
*/
// STLport configuration file
// It is internal STLport header - DO NOT include it directly

#define _STLP_COMPILER "Intel ICL"

#define _STLP_IMPORT_TEMPLATE_KEYWORD extern

/* You need to undef following macro if your icl install is binded to MSVC 6
 * native lib and you are building with /Qvc7 or /Qvc7.1 or /Qvc8 option.
 */
/* #define _STLP_MSVC_LIB 1200 */
/* You need to undef following macro if your icl install is binded to MSVC .Net 2002
 * native lib and you are building without any /Qvc* option or with /Qvc6 or /Qvc7.1
 * or /Qvc8 option.
 */
/* #define _STLP_MSVC_LIB 1300 */
/* You need to undef following macro if your icl install is binded to MSVC .Net 2002
 * native lib and you are building without any /Qvc* option or with /Qvc6 or /Qvc7
 * or /Qvc8 option.
 */
/* #define _STLP_MSVC_LIB 1310 */
/* You need to undef following macro if your icl install is binded to MSVC .Net 2002
 * native lib and you are building without any /Qvc* option or with /Qvc6 or /Qvc7
 * or /Qvc7.1 option.
 */
/* #define _STLP_MSVC_LIB 1400 */

#include <stl/config/_msvc.h>

#if defined (_STLP_DONT_RETURN_VOID)
#  undef _STLP_DONT_RETURN_VOID
#endif

#if (__ICL >= 900)
/* #  undef _STLP_NO_UNEXPECTED_EXCEPT_SUPPORT */
#  if !defined (_STLP_DONT_USE_EXCEPTIONS)
#    define _STLP_NOTHROW throw()
#  endif
#endif

#if (__ICL <= 810)
/* If method specialization is activated, compiler do not export some
 * symbols anymore.
 */
#  define _STLP_NO_METHOD_SPECIALIZATION 1
#endif

#if (__ICL >= 800)
#  define _STLP_STATIC_CONST_INIT_BUG 1
#endif

#if (__ICL >= 450)
#  define _STLP_DLLEXPORT_NEEDS_PREDECLARATION 1
#endif

#if (__ICL < 450)
/*    only static STLport lib works for ICL */
#  undef  _STLP_USE_STATIC_LIB
#  undef  _STLP_USE_DYNAMIC_LIB
#  define _STLP_USE_STATIC_LIB
/*    disable hook which makes template symbols to be searched for in the library */
#  undef _STLP_NO_CUSTOM_IO
#endif

#undef  _STLP_LONG_LONG
#define _STLP_LONG_LONG long long

#if defined (__cplusplus) && (__ICL >= 900) && (_STLP_MSVC_LIB < 1300)
namespace std
{
  void _STLP_CALL unexpected();
}
#endif