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