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.
23 lines
334 B
23 lines
334 B
#if defined(_WIN32) && defined(SHARED_B)
|
|
# define IMPORT_B __declspec(dllimport)
|
|
#else
|
|
# define IMPORT_B
|
|
#endif
|
|
extern IMPORT_B int b1(void);
|
|
extern IMPORT_B int b2(void);
|
|
#ifndef NO_A
|
|
extern int a1(void);
|
|
extern int a2(void);
|
|
#endif
|
|
int main(void)
|
|
{
|
|
return 0
|
|
#ifndef NO_A
|
|
+ a1()
|
|
+ a2()
|
|
#endif
|
|
+ b1()
|
|
+ b2()
|
|
;
|
|
}
|