• J
    export http_exception for non Windows builds · 80444805
    Jeffrey van de Glind 提交于
    If a project compiled with clang for macos links to CppRest, and the
    -fvisibility=hidden compiler option is used, the http_exception is used
    as std::exception. The clang compiler requires it to be exported in
    order to know about the symbols.
    
    Since the Visual Studio compiler throws warnings regarding the export of
    a class that inherits from a non-exported class, std::exception in this
    case, this export is only defined for clang.
    80444805
cpprest_compat.h 3.2 KB