ossrv_pub/configuration/inc/stdapis/stlport/config/stl_select_lib.h
changeset 0 e4d67989cc36
child 18 47c74d1534e1
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 # if !defined (_STLP_NO_OWN_IOSTREAMS)
       
     2 
       
     3 #  if ! defined (_STLP_LIB_STATIC_SUFFIX)
       
     4 #   define _STLP_LIB_STATIC_SUFFIX ""
       
     5 #  endif
       
     6 
       
     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)
       
    14 #      ifdef _STLP_DEBUG
       
    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")
       
    18 #      else
       
    19 #       pragma comment(lib, _STLP_LIB_BASENAME".lib")
       
    20 #      endif
       
    21 #     else /* _STLP_USE_DECLSPEC */
       
    22 // fbp : for static linking, debug setting _MUST_ correspond to what
       
    23 // has been compiled into binary lib
       
    24 #      ifdef _STLP_DEBUG
       
    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)"
       
    27 #       endif
       
    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")
       
    31 #      else
       
    32 #       pragma comment(lib, _STLP_LIB_BASENAME""_STLP_LIB_STATIC_SUFFIX".lib")
       
    33 #      endif
       
    34 #     endif /* _STLP_USE_DECLSPEC */
       
    35 #    endif /* __BUILDING_STLPORT */
       
    36 #   endif /* _STLP_OWN_IOSTREAMS */