2012-03-20 23:06:16 +04:00
|
|
|
#ifdef A_DEF
|
2016-05-16 17:34:04 +03:00
|
|
|
#error "A_DEF must not be defined"
|
2012-03-12 22:41:34 +04:00
|
|
|
#endif
|
2012-03-20 23:06:16 +04:00
|
|
|
#ifndef B_DEF
|
2016-05-16 17:34:04 +03:00
|
|
|
#error "B_DEF not defined"
|
2012-03-12 22:41:34 +04:00
|
|
|
#endif
|
2013-02-08 23:10:22 +04:00
|
|
|
|
2012-03-12 22:41:34 +04:00
|
|
|
#if defined(_WIN32) && defined(Bexport)
|
2016-05-16 17:34:04 +03:00
|
|
|
#define EXPORT_B __declspec(dllexport)
|
2012-03-12 22:41:34 +04:00
|
|
|
#else
|
2016-05-16 17:34:04 +03:00
|
|
|
#define EXPORT_B
|
2012-03-12 22:41:34 +04:00
|
|
|
#endif
|
2013-02-08 23:10:22 +04:00
|
|
|
|
|
|
|
#if defined(_WIN32) && defined(SHARED_B)
|
2016-05-16 17:34:04 +03:00
|
|
|
#define IMPORT_B __declspec(dllimport)
|
2013-02-08 23:10:22 +04:00
|
|
|
#else
|
2016-05-16 17:34:04 +03:00
|
|
|
#define IMPORT_B
|
2013-02-08 23:10:22 +04:00
|
|
|
#endif
|