2012-04-19 19:04:21 +03:00
|
|
|
#if defined(_WIN32) && defined(SHARED_C)
|
2018-08-09 18:06:22 +02:00
|
|
|
# define IMPORT_C __declspec(dllimport)
|
2012-04-19 19:04:21 +03:00
|
|
|
#else
|
2018-08-09 18:06:22 +02:00
|
|
|
# define IMPORT_C
|
2012-04-19 19:04:21 +03:00
|
|
|
#endif
|
|
|
|
extern IMPORT_C int b1(void);
|
|
|
|
extern IMPORT_C int b2(void);
|
|
|
|
extern IMPORT_C int c(void);
|
|
|
|
int main(void)
|
|
|
|
{
|
2016-07-09 11:21:54 +02:00
|
|
|
return 0 + c() + b1() + b2();
|
2012-04-19 19:04:21 +03:00
|
|
|
}
|