| 1 |
#ifndef REQUIRED |
| 2 |
# error "REQUIRED not defined" |
| 3 |
#endif |
| 4 |
|
| 5 |
#if defined(_WIN32) |
| 6 |
# define IMPORT __declspec(dllimport) |
| 7 |
#else |
| 8 |
# define IMPORT |
| 9 |
#endif |
| 10 |
|
| 11 |
IMPORT int a(void); |
| 12 |
extern int required(void); |
| 13 |
|
| 14 |
int main(void) |
| 15 |
{ |
| 16 |
return required() + a(); |
| 17 |
} |