epoc32/include/stdapis/stlport/stl/_check_config.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
     1.1 --- a/epoc32/include/stdapis/stlport/stl/_check_config.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/stdapis/stlport/stl/_check_config.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,37 @@
     1.4 -_check_config.h
     1.5 +// This file is reserved to site configuration purpose
     1.6 +// and should NEVER be overridden by user
     1.7 +
     1.8 +# if defined ( _STLP_NO_OWN_IOSTREAMS )
     1.9 +
    1.10 +// User choose not to use SGI iostreams, which means no
    1.11 +// precompiled library will be used and he is free to override
    1.12 +// any STLport configuration flags
    1.13 +
    1.14 +# else
    1.15 +
    1.16 +// The following will be defined in stl_config.h :
    1.17 +// # define _STLP_OWN_IOSTREAMS 1
    1.18 +# endif
    1.19 +
    1.20 +/*
    1.21 + *  Consistency check : if we use SGI iostreams, we have to use consistent
    1.22 + *  thread model (single-threaded or multi-threaded) with the compiled library
    1.23 + *  
    1.24 + *  Default is multithreaded build. If you want to build and use single-threaded
    1.25 + *  STLport, please change _STLP_NOTHREADS configuration setting above and rebuild the library
    1.26 + *
    1.27 + */
    1.28 +
    1.29 +# if defined (_STLP_OWN_IOSTREAMS) \
    1.30 +  && !defined (_STLP_NO_THREADS) && !defined (_REENTRANT)
    1.31 +
    1.32 +#  if defined(_MSC_VER) && !defined(__MWERKS__) && !defined (__COMO__) && !defined(_MT)
    1.33 +#   error "Only multi-threaded runtime library may be linked with STLport!"  
    1.34 +#  endif
    1.35 +
    1.36 +// boris : you may change that to build non-threadsafe STLport library
    1.37 +#  if defined (__BUILDING_STLPORT) /* || defined (_STLP_DEBUG) */
    1.38 +#   define _REENTRANT 1
    1.39 +#  endif
    1.40 +
    1.41 +# endif