]> git.buserror.net Git - polintos/scott/priv.git/blob - include/c++/stl/stl/_check_config.h
minor doc updates
[polintos/scott/priv.git] / include / c++ / stl / stl / _check_config.h
1 // This file is reserved to site configuration purpose
2 // and should NEVER be overridden by user
3
4 /*
5  *  Consistency check : if we use SGI iostreams, we have to use consistent
6  *  thread model (single-threaded or multi-threaded) with the compiled library
7  *
8  *  Default is multithreaded build. If you want to build and use single-threaded
9  *  STLport, please change _STLP_NOTHREADS configuration setting above and rebuild the library
10  *
11  */
12
13 # if !defined(_STLP_USE_NO_IOSTREAMS) && !defined(_STLP_NO_THREADS) && !defined(_REENTRANT)
14
15 #  if defined(_MSC_VER) && !defined(__MWERKS__) && !defined (__COMO__) && !defined(_MT)
16 #   error "Only multi-threaded runtime library may be linked with STLport!"
17 #  endif
18
19 // boris : you may change that to build non-threadsafe STLport library
20 #  if defined (__BUILDING_STLPORT) /* || defined (_STLP_DEBUG) */
21 #   define _REENTRANT 1
22 #  endif
23
24 # endif