15 lines
242 B
C
Raw Normal View History

2018-08-09 18:06:22 +02:00
#if defined(_WIN32) && defined(COMPILE_FOR_SHARED_LIB)
# define EXPORT __declspec(dllexport)
#else
# define EXPORT
#endif
extern int a(void);
EXPORT int b()
2015-04-27 22:25:09 +02:00
{
2018-08-09 18:06:22 +02:00
return a();
2015-04-27 22:25:09 +02:00
}
2018-08-09 18:06:22 +02:00
#ifndef REQUIRED
# error "REQUIRED needs to be defined"
#endif