genericopenlibs/cppstdlib/stl/stlport/stl/_check_config.h
changeset 31 ce057bb09d0b
child 34 5fae379060a7
equal deleted inserted replaced
30:e20de85af2ee 31:ce057bb09d0b
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 // This file is reserved to site configuration purpose
       
    18 // and should NEVER be overridden by user
       
    19 
       
    20 /*
       
    21  *  Consistency check : if we use SGI iostreams, we have to use consistent
       
    22  *  thread model (single-threaded or multi-threaded) with the compiled library
       
    23  *
       
    24  *  Default is multithreaded build. If you want to build and use single-threaded
       
    25  *  STLport, please change _STLP_NOTHREADS configuration setting above and rebuild the library
       
    26  *
       
    27  */
       
    28 
       
    29 # if !defined(_STLP_USE_NO_IOSTREAMS) && !defined(_STLP_NO_THREADS) && !defined(_REENTRANT)
       
    30 
       
    31 #  if defined(_MSC_VER) && !defined(__MWERKS__) && !defined (__COMO__) && !defined(_MT)
       
    32 #   error "Only multi-threaded runtime library may be linked with STLport!"
       
    33 #  endif
       
    34 
       
    35 // boris : you may change that to build non-threadsafe STLport library
       
    36 #  if defined (__BUILDING_STLPORT) /* || defined (_STLP_DEBUG) */
       
    37 #   define _REENTRANT 1
       
    38 #  endif
       
    39 
       
    40 # endif