epoc32/include/tools/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/tools/stlport/stl/_check_config.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +// This file is reserved to site configuration purpose
     1.5 +// and should NEVER be overridden by user
     1.6 +
     1.7 +/*
     1.8 + *  Consistency check : if we use SGI iostreams, we have to use consistent
     1.9 + *  thread model (single-threaded or multi-threaded) with the compiled library
    1.10 + *
    1.11 + *  Default is multithreaded build. If you want to build and use single-threaded
    1.12 + *  STLport, please change _STLP_NOTHREADS configuration setting above and rebuild the library
    1.13 + *
    1.14 + */
    1.15 +
    1.16 +# if !defined(_STLP_USE_NO_IOSTREAMS) && !defined(_STLP_NO_THREADS) && !defined(_REENTRANT)
    1.17 +
    1.18 +#  if defined(_MSC_VER) && !defined(__MWERKS__) && !defined (__COMO__) && !defined(_MT)
    1.19 +#   error "Only multi-threaded runtime library may be linked with STLport!"
    1.20 +#  endif
    1.21 +
    1.22 +// boris : you may change that to build non-threadsafe STLport library
    1.23 +#  if defined (__BUILDING_STLPORT) /* || defined (_STLP_DEBUG) */
    1.24 +#   define _REENTRANT 1
    1.25 +#  endif
    1.26 +
    1.27 +# endif