summaryrefslogtreecommitdiff
path: root/liborcus/liborcus_0.1.0-dllimport.patch
blob: 6255d060a492c8850b09090ac23c803a2911dc7e (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,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