Debian Codegraph @

CodeLite/codelite_exports.h

raw
1 //////////////////////////////////////////////////////////////////////////////
2 //////////////////////////////////////////////////////////////////////////////
3 //
4 // copyright : (C) 2014 Eran Ifrah
5 // file name : codelite_exports.h
6 //
7 // -------------------------------------------------------------------------
8 // A
9 // _____ _ _ _ _
10 // / __ \ | | | | (_) |
11 // | / \/ ___ __| | ___| | _| |_ ___
12 // | | / _ \ / _ |/ _ \ | | | __/ _ )
13 // | \__/\ (_) | (_| | __/ |___| | || __/
14 // \____/\___/ \__,_|\___\_____/_|\__\___|
15 //
16 // F i l e
17 //
18 // This program is free software; you can redistribute it and/or modify
19 // it under the terms of the GNU General Public License as published by
20 // the Free Software Foundation; either version 2 of the License, or
21 // (at your option) any later version.
22 //
23 //////////////////////////////////////////////////////////////////////////////
24 //////////////////////////////////////////////////////////////////////////////
25
26 #ifndef CODELITE_EXPORTS
27 #define CODELITE_EXPORTS
28
29 #ifdef __WXMSW__
30
31 #include <wx/string.h>
32 #ifdef WXDLLIMPEXP_CL
33 #undef WXDLLIMPEXP_CL
34 #endif
35
36 //////////////////////////////////////
37 // codelite
38 //////////////////////////////////////
39
40 #ifdef WXMAKINGDLL_CL
41 # define WXDLLIMPEXP_CL __declspec(dllexport)
42 #elif defined(WXUSINGDLL_CL)
43 # define WXDLLIMPEXP_CL __declspec(dllimport)
44 #else // not making nor using DLL
45 # define WXDLLIMPEXP_CL
46 #endif
47
48 //////////////////////////////////////
49 // SDK
50 //////////////////////////////////////
51 #ifdef WXDLLIMPEXP_SDK
52 #undef WXDLLIMPEXP_SDK
53 #endif
54
55 #ifdef WXMAKINGDLL_SDK
56 # define WXDLLIMPEXP_SDK __declspec(dllexport)
57 #elif defined(WXUSINGDLL_SDK)
58 # define WXDLLIMPEXP_SDK __declspec(dllimport)
59 #else // not making nor using DLL
60 # define WXDLLIMPEXP_SDK
61 #endif
62
63 #else // !MSW
64 # define WXDLLIMPEXP_CL
65 # define WXDLLIMPEXP_SDK
66 #endif
67
68 #endif // CODELITE_EXPORTS
69
70