ossrv_pub/configuration/inc/stdapis/stlport/stl/_check_config.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 // This file is reserved to site configuration purpose
       
     2 // and should NEVER be overridden by user
       
     3 
       
     4 # if defined ( _STLP_NO_OWN_IOSTREAMS )
       
     5 
       
     6 // User choose not to use SGI iostreams, which means no
       
     7 // precompiled library will be used and he is free to override
       
     8 // any STLport configuration flags
       
     9 
       
    10 # else
       
    11 
       
    12 // The following will be defined in stl_config.h :
       
    13 // # define _STLP_OWN_IOSTREAMS 1
       
    14 # endif
       
    15 
       
    16 /*
       
    17  *  Consistency check : if we use SGI iostreams, we have to use consistent
       
    18  *  thread model (single-threaded or multi-threaded) with the compiled library
       
    19  *  
       
    20  *  Default is multithreaded build. If you want to build and use single-threaded
       
    21  *  STLport, please change _STLP_NOTHREADS configuration setting above and rebuild the library
       
    22  *
       
    23  */
       
    24 
       
    25 # if defined (_STLP_OWN_IOSTREAMS) \
       
    26   && !defined (_STLP_NO_THREADS) && !defined (_REENTRANT)
       
    27 
       
    28 #  if defined(_MSC_VER) && !defined(__MWERKS__) && !defined (__COMO__) && !defined(_MT)
       
    29 #   error "Only multi-threaded runtime library may be linked with STLport!"  
       
    30 #  endif
       
    31 
       
    32 // boris : you may change that to build non-threadsafe STLport library
       
    33 #  if defined (__BUILDING_STLPORT) /* || defined (_STLP_DEBUG) */
       
    34 #   define _REENTRANT 1
       
    35 #  endif
       
    36 
       
    37 # endif