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.
21 lines
300 B
21 lines
300 B
11 years ago
|
|
||
|
#include "sharedlib.h"
|
||
|
|
||
|
#ifndef SHAREDLIB_DEFINE
|
||
|
#error Expected SHAREDLIB_DEFINE
|
||
|
#endif
|
||
|
|
||
|
#ifdef HEADERONLY_DEFINE
|
||
|
#error Unexpected HEADERONLY_DEFINE
|
||
|
#endif
|
||
|
|
||
|
#ifndef DEFINE_IFACE_DEFINE
|
||
|
#error Expected DEFINE_IFACE_DEFINE
|
||
|
#endif
|
||
|
|
||
|
int main(int,char**)
|
||
|
{
|
||
|
SharedLibObject slo;
|
||
|
return slo.foo();
|
||
|
}
|