Loading...
Searching...
No Matches
8#ifndef __ORCUS_ENV_HPP__
9#define __ORCUS_ENV_HPP__
13#if defined _WIN32 || defined __CYGWIN__
14 #if defined __MINGW32__
15 #define ORCUS_DLLPUBLIC
16 #define ORCUS_DLLLOCAL
17 #elif defined __ORCUS_BUILDING_DLL
19 #define ORCUS_DLLPUBLIC __attribute__ ((dllexport))
21 #define ORCUS_DLLPUBLIC __declspec(dllexport)
23 #elif defined __ORCUS_STATIC_LIB
24 #define ORCUS_DLLPUBLIC
27 #define ORCUS_DLLPUBLIC __attribute__ ((dllimport))
29 #define ORCUS_DLLPUBLIC __declspec(dllimport)
32 #define ORCUS_DLLLOCAL
35 #define ORCUS_DLLPUBLIC __attribute__ ((visibility ("default")))
36 #define ORCUS_DLLLOCAL __attribute__ ((visibility ("hidden")))
38 #define ORCUS_DLLPUBLIC
39 #define ORCUS_DLLLOCAL
45#if defined _WIN32 || defined __CYGWIN__
46 #if defined __MINGW32__
47 #define ORCUS_PSR_DLLPUBLIC
48 #define ORCUS_PSR_DLLLOCAL
49 #elif defined __ORCUS_PSR_BUILDING_DLL
51 #define ORCUS_PSR_DLLPUBLIC __attribute__ ((dllexport))
53 #define ORCUS_PSR_DLLPUBLIC __declspec(dllexport)
55 #elif defined __ORCUS_PSR_STATIC_LIB
56 #define ORCUS_PSR_DLLPUBLIC
59 #define ORCUS_PSR_DLLPUBLIC __attribute__ ((dllimport))
61 #define ORCUS_PSR_DLLPUBLIC __declspec(dllimport)
64 #define ORCUS_PSR_DLLLOCAL
67 #define ORCUS_PSR_DLLPUBLIC __attribute__ ((visibility ("default")))
68 #define ORCUS_PSR_DLLLOCAL __attribute__ ((visibility ("hidden")))
70 #define ORCUS_PSR_DLLPUBLIC
71 #define ORCUS_PSR_DLLLOCAL
77#if defined _WIN32 || defined __CYGWIN__
78 #if defined __MINGW32__
79 #define ORCUS_SPM_DLLPUBLIC
80 #define ORCUS_SPM_DLLLOCAL
81 #elif defined __ORCUS_SPM_BUILDING_DLL
83 #define ORCUS_SPM_DLLPUBLIC __attribute__ ((dllexport))
85 #define ORCUS_SPM_DLLPUBLIC __declspec(dllexport)
87 #elif defined __ORCUS_SPM_STATIC_LIB
88 #define ORCUS_SPM_DLLPUBLIC
91 #define ORCUS_SPM_DLLPUBLIC __attribute__ ((dllimport))
93 #define ORCUS_SPM_DLLPUBLIC __declspec(dllimport)
96 #define ORCUS_SPM_DLLLOCAL
99 #define ORCUS_SPM_DLLPUBLIC __attribute__ ((visibility ("default")))
100 #define ORCUS_SPM_DLLLOCAL __attribute__ ((visibility ("hidden")))
102 #define ORCUS_SPM_DLLPUBLIC
103 #define ORCUS_SPM_DLLLOCAL
109#if defined _WIN32 || defined __CYGWIN__
110 #if defined __MINGW32__
111 #define ORCUS_MSO_DLLPUBLIC
112 #define ORCUS_MSO_DLLLOCAL
113 #elif defined __ORCUS_MSO_BUILDING_DLL
115 #define ORCUS_MSO_DLLPUBLIC __attribute__ ((dllexport))
117 #define ORCUS_MSO_DLLPUBLIC __declspec(dllexport)
119 #elif defined __ORCUS_MSO_STATIC_LIB
120 #define ORCUS_MSO_DLLPUBLIC
123 #define ORCUS_MSO_DLLPUBLIC __attribute__ ((dllimport))
125 #define ORCUS_MSO_DLLPUBLIC __declspec(dllimport)
128 #define ORCUS_MSO_DLLLOCAL
131 #define ORCUS_MSO_DLLPUBLIC __attribute__ ((visibility ("default")))
132 #define ORCUS_MSO_DLLLOCAL __attribute__ ((visibility ("hidden")))
134 #define ORCUS_MSO_DLLPUBLIC
135 #define ORCUS_MSO_DLLLOCAL