1 # if !defined (_STLP_NO_OWN_IOSTREAMS)
3 # if ! defined (_STLP_LIB_STATIC_SUFFIX)
4 # define _STLP_LIB_STATIC_SUFFIX ""
7 // Note : the code below is intended to make use of compiled
8 // STLport iostreams easier. If you are with to change names used for
9 // STLport libraries , please also change RELEASE_NAME and DEBUG_NAME
10 // macros in makefile ../../src/vc6.mak (or whatever .mak you are using to build
11 // STLport). If you are using binaries, you may just rename the binaries.
12 # if ! defined (__BUILDING_STLPORT) && ! defined (_STLP_DONT_FORCE_MSVC_LIB_NAME)
13 # if defined (_STLP_USE_DECLSPEC)
15 # pragma comment(lib, _STLP_LIB_BASENAME"_stldebug.lib")
16 # elif (defined (_DEBUG) || defined (__DEBUG)) && defined (_STLP_USE_DEBUG_LIB)
17 # pragma comment(lib, _STLP_LIB_BASENAME"_debug.lib")
19 # pragma comment(lib, _STLP_LIB_BASENAME".lib")
21 # else /* _STLP_USE_DECLSPEC */
22 // fbp : for static linking, debug setting _MUST_ correspond to what
23 // has been compiled into binary lib
25 # if (! defined (_DEBUG))
26 # error "For static link with STLport library, _DEBUG setting MUST be on when _STLP_DEBUG is on. (/MTd forces _DEBUG)"
28 # pragma comment(lib, _STLP_LIB_BASENAME"_stldebug"_STLP_LIB_STATIC_SUFFIX".lib")
29 # elif (defined (_DEBUG) || defined (__DEBUG)) && defined (_STLP_USE_DEBUG_LIB)
30 # pragma comment(lib, _STLP_LIB_BASENAME"_debug"_STLP_LIB_STATIC_SUFFIX".lib")
32 # pragma comment(lib, _STLP_LIB_BASENAME""_STLP_LIB_STATIC_SUFFIX".lib")
34 # endif /* _STLP_USE_DECLSPEC */
35 # endif /* __BUILDING_STLPORT */
36 # endif /* _STLP_OWN_IOSTREAMS */