office-gobmx/liborcus/liborcus_0.1.0-dllimport.patch

19 lines
431 B
Diff
Raw Normal View History

--- 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