equal
deleted
inserted
replaced
19 #define NMAILSETTINGUIDEF_H |
19 #define NMAILSETTINGUIDEF_H |
20 |
20 |
21 #include <QtGlobal> |
21 #include <QtGlobal> |
22 |
22 |
23 #if defined(Q_OS_WIN) |
23 #if defined(Q_OS_WIN) |
24 #define NMAILSETTINGUI_EXPORT __declspec(dllexport) |
24 #define NMAILSETTINGUI_EXPORT __declspec(dllexport) |
25 #else |
25 #else |
26 |
26 #if defined(BUILD_NMAILSETTINGUI_DLL) |
27 #if defined(BUILD_NMAILSETTINGUI_DLL) |
27 #define NMAILSETTINGUI_EXPORT Q_DECL_EXPORT |
28 #define NMAILSETTINGUI_EXPORT Q_DECL_EXPORT |
28 #else |
29 #else |
29 #define NMAILSETTINGUI_EXPORT Q_DECL_IMPORT |
30 #define NMAILSETTINGUI_EXPORT Q_DECL_IMPORT |
30 #endif |
31 #endif |
31 #endif |
32 |
32 |
|
33 #if defined(TEST_BUILD_NMAILSETTINGUI_DLL) |
|
34 #ifdef NMAILSETTINGUI_EXPORT |
|
35 #undef NMAILSETTINGUI_EXPORT |
|
36 #endif |
|
37 |
|
38 #define NMAILSETTINGUI_EXPORT |
33 #endif |
39 #endif |
34 |
40 |
35 #endif // NMAILSETTINGUIDEF_H |
41 #endif // NMAILSETTINGUIDEF_H |