2012-03-12 22:41:34 +04:00
|
|
|
#if defined(_WIN32) && defined(SHARED_C)
|
2016-05-16 17:34:04 +03:00
|
|
|
#define IMPORT_C __declspec(dllimport)
|
2012-03-12 22:41:34 +04:00
|
|
|
#else
|
2016-05-16 17:34:04 +03:00
|
|
|
#define IMPORT_C
|
2012-03-12 22:41:34 +04:00
|
|
|
#endif
|
|
|
|
extern IMPORT_C int b1(void);
|
|
|
|
extern IMPORT_C int b2(void);
|
|
|
|
extern IMPORT_C int c(void);
|
|
|
|
int main(void)
|
|
|
|
{
|
2016-05-16 17:34:04 +03:00
|
|
|
return 0 + c() + b1() + b2();
|
2012-03-12 22:41:34 +04:00
|
|
|
}
|