You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
424 B
33 lines
424 B
|
|
#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;
|
|
}
|