office-gobmx/external/liborcus/liborcus_0.1.0-dllimport.patch
Khaled Hosny 392726f042 fdo#70393: move liborcus to a subdir of external
Change-Id: Ibdf8c9fc9d7d2639ebd440ff2d833ab37ae76d98
Reviewed-on: https://gerrit.libreoffice.org/6334
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-10-19 07:37:21 +00:00

18 lines
431 B
Diff

--- include/orcus/env.hpp
+++ include/orcus/env.hpp
@@ -35,14 +35,8 @@
#else
#define ORCUS_DLLPUBLIC __declspec(dllexport)
#endif
- #elif defined __ORCUS_STATIC_LIB
+ #else
#define ORCUS_DLLPUBLIC
- #else
- #ifdef __GNUC__
- #define ORCUS_DLLPUBLIC __attribute__ ((dllimport))
- #else
- #define ORCUS_DLLPUBLIC __declspec(dllimport)
- #endif
#endif
#define ORCUS_DLLLOCAL
#else