forked from eranif/codelite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefs.h
36 lines (33 loc) · 1.2 KB
/
defs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*********************************************************************
* Name: defs.h
* Purpose: Defines export/import symbols.
* Author:
* Created:
* Copyright:
* License: wxWidgets license (www.wxwidgets.org)
*
* Notes: Note, that preprocessor symbol WXMAKINGDLL_MYLIB
* tested in defs.h file must be defined in the compiler
* settings if the symbols should be exported from
* DYNAMIC library. If not defined then all declarations
* will be local (usefull for STATIC library).
*********************************************************************/
#ifndef _WXDEFS_H
#define _WXDEFS_H
#ifdef USING_SOURCE_MYLIB
#define WXDLLIMPEXP_MYLIB
#define WXDLLIMPEXP_DATA_MYLIB(type) type
#elif defined( LIB_USINGDLL )
#define WXDLLIMPEXP_MYLIB
#define WXDLLIMPEXP_DATA_MYLIB(type)
#elif defined( WXMAKINGDLL_MYLIB )
#define WXDLLIMPEXP_MYLIB WXEXPORT
#define WXDLLIMPEXP_DATA_MYLIB(type) WXEXPORT type
#elif defined(WXUSINGDLL)
#define WXDLLIMPEXP_MYLIB WXIMPORT
#define WXDLLIMPEXP_DATA_MYLIB(type) WXIMPORT type
#else // not making nor using DLL
#define WXDLLIMPEXP_MYLIB
#define WXDLLIMPEXP_DATA_MYLIB(type) type
#endif
#endif//_WXDEFS_H