File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 71
71
72
72
#ifdef _NO_ASYNCRTIMP
73
73
#define _ASYNCRTIMP
74
+ #define _ASYNCRTIMP_TYPEINFO
74
75
#else // ^^^ _NO_ASYNCRTIMP ^^^ // vvv !_NO_ASYNCRTIMP vvv
75
76
#ifdef _ASYNCRT_EXPORT
76
77
#define _ASYNCRTIMP __declspec(dllexport)
77
78
#else // ^^^ _ASYNCRT_EXPORT ^^^ // vvv !_ASYNCRT_EXPORT vvv
78
79
#define _ASYNCRTIMP __declspec(dllimport)
79
80
#endif // _ASYNCRT_EXPORT
81
+
82
+ #if defined(_WIN32 )
83
+ #define _ASYNCRTIMP_TYPEINFO
84
+ #else // ^^^ _WIN32 ^^^ // vvv !_WIN32 vvv
85
+ #define _ASYNCRTIMP_TYPEINFO __attribute__((visibility("default")))
86
+ #endif // _WIN32
87
+
80
88
#endif // _NO_ASYNCRTIMP
81
89
82
90
#ifdef CASABLANCA_DEPRECATION_NO_WARNINGS
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ class header_names
187
187
// / <summary>
188
188
// / Represents an HTTP error. This class holds an error message and an optional error code.
189
189
// / </summary>
190
- class http_exception : public std ::exception
190
+ class _ASYNCRTIMP_TYPEINFO http_exception : public std::exception
191
191
{
192
192
public:
193
193
// / <summary>
You can’t perform that action at this time.
0 commit comments