2018-08-09 18:06:22 +02:00
|
|
|
#if defined(_WIN32) && defined(COMPILE_FOR_SHARED_LIB)
|
|
|
|
# define IMPORT __declspec(dllimport)
|
|
|
|
#else
|
|
|
|
# define IMPORT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern IMPORT int b(void);
|
2024-04-14 22:45:38 +02:00
|
|
|
int main(void)
|
2018-08-09 18:06:22 +02:00
|
|
|
{
|
|
|
|
return b();
|
|
|
|
}
|
|
|
|
#ifndef REQUIRED
|
|
|
|
# error "REQUIRED needs to be defined"
|
|
|
|
#endif
|