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