mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-12-01 06:21:50 +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() { }
|
|
|