summaryrefslogtreecommitdiff
path: root/liborcus/liborcus_0.1.0-dllimport.patch
blob: 005085b2d9cda9b7bc80c38a39626396131a735b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- include/orcus/env.hpp
+++ include/orcus/env.hpp
@@ -35,15 +35,9 @@
     #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