| 1 |
#if defined(_WIN32) && defined(COMPILE_FOR_SHARED_LIB) |
| 2 |
# define IMPORT __declspec(dllimport) |
| 3 |
#else |
| 4 |
# define IMPORT |
| 5 |
#endif |
| 6 |
|
| 7 |
extern IMPORT int b(void); |
| 8 |
int main(void) |
| 9 |
{ |
| 10 |
return b(); |
| 11 |
} |
| 12 |
#ifndef REQUIRED |
| 13 |
# error "REQUIRED needs to be defined" |
| 14 |
#endif |