mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-26 11:51:20 +01:00
14 lines
184 B
C++
14 lines
184 B
C++
|
|
||
|
#ifdef _MSC_VER
|
||
|
# define testshlib_EXPORT __declspec(dllexport)
|
||
|
#else
|
||
|
# define testshlib_EXPORT
|
||
|
#endif
|
||
|
|
||
|
extern testshlib_EXPORT void foo();
|
||
|
|
||
|
static const int truc=5;
|
||
|
|
||
|
void foo() { }
|
||
|
|