Cinnamon audio library
Revision | c5de95890c21255fee536eea989deb91bc8ce1a1 (tree) |
---|---|
Zeit | 2019-07-08 02:43:48 |
Autor | AlaskanEmily <emily@alas...> |
Commiter | AlaskanEmily |
Update the export directives to work with the new makefile
@@ -11,16 +11,23 @@ | ||
11 | 11 | |
12 | 12 | /* For a DLL build, use dllimport. Since we use a DEF file, we do not need |
13 | 13 | * to use dllexport. */ |
14 | - #if (!defined(CIN_STATIC)) && !defined CIN_INTERNAL | |
15 | - | |
16 | - #define CIN_DLL_EXPORT(X) __declspec(dllimport) X | |
14 | + #if (!defined(CIN_STATIC)) | |
15 | + | |
16 | + #ifdef CIN_INTERNAL | |
17 | + | |
18 | + #define CIN_DLL_EXPORT(X) __declspec(dllexport) X | |
17 | 19 | |
20 | + #else /* CIN_DLL */ | |
21 | + | |
22 | + #define CIN_DLL_EXPORT(X) __declspec(dllimport) X | |
23 | + | |
24 | + #endif /* CIN_DLL */ | |
25 | + | |
18 | 26 | #else /* CIN_DLL */ |
19 | 27 | |
20 | 28 | #define CIN_DLL_EXPORT(X) X |
21 | 29 | |
22 | - #endif /* CIN_DLL */ | |
23 | - | |
30 | + #endif | |
24 | 31 | /* Use the C calling convention for all exported symbols. */ |
25 | 32 | #define CIN_EXPORT(X) CIN_DLL_EXPORT(X) __cdecl |
26 | 33 |