blob: d958c3af009bd107e6c64cfe17e9b299d1f2f231 (
plain)
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
|
#ifdef _WIN32
# define IMPORT __declspec(dllimport)
#else
# define IMPORT
#endif
IMPORT int shared_version();
#ifdef HAS_STATIC_VERSION
IMPORT int static_version();
#else
int static_version()
{
return 0;
}
#endif
#ifdef HAS_MIXED_VERSION
IMPORT int mixed_version();
#else
int mixed_version()
{
return 0;
}
#endif
int main()
{
return mixed_version() == 0 && shared_version() == 0 &&
static_version() == 0;
}
|