2020-08-30 11:54:41 +02:00
|
|
|
|
2023-05-23 16:38:00 +02:00
|
|
|
#ifdef _WIN32
|
|
|
|
# define IMPORT __declspec(dllimport)
|
|
|
|
#else
|
|
|
|
# define IMPORT
|
|
|
|
#endif
|
2020-08-30 11:54:41 +02:00
|
|
|
|
2023-05-23 16:38:00 +02:00
|
|
|
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
|
2020-08-30 11:54:41 +02:00
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
return mixed_version() == 0 && shared_version() == 0 &&
|
|
|
|
static_version() == 0;
|
|
|
|
}
|