fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / liborcus / liborcus_0.1.0-dllimport.patch
blob8940155c9308430cabe08ca266530c2436461000
1 --- include/orcus/env.hpp
2 +++ include/orcus/env.hpp
3 @@ -35,19 +35,13 @@
4 #else
5 #define ORCUS_DLLPUBLIC __declspec(dllexport)
6 #endif
7 - #elif defined __ORCUS_STATIC_LIB
8 + #else
9 #define ORCUS_DLLPUBLIC
10 - #else
11 - #ifdef __GNUC__
12 - #define ORCUS_DLLPUBLIC __attribute__ ((dllimport))
13 - #else
14 - #define ORCUS_DLLPUBLIC __declspec(dllimport)
15 - #endif
16 #endif
17 #define ORCUS_DLLLOCAL
18 #else
19 #if __GNUC__ >= 4
20 - #define ORCUS_DLLPUBLIC __attribute__ ((visibility ("default")))
21 + #define ORCUS_DLLPUBLIC __attribute__ ((visibility ("hidden")))
22 #define ORCUS_DLLLOCAL __attribute__ ((visibility ("hidden")))
23 #else
24 #define ORCUS_DLLPUBLIC