2012-03-20 23:06:16 +04:00
|
|
|
#ifdef A_DEF
|
|
|
|
# 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
|
|
|
|
# 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)
|
|
|
|
# define EXPORT_B __declspec(dllexport)
|
|
|
|
#else
|
|
|
|
# define EXPORT_B
|
|
|
|
#endif
|
2013-02-08 23:10:22 +04:00
|
|
|
|
|
|
|
#if defined(_WIN32) && defined(SHARED_B)
|
|
|
|
# define IMPORT_B __declspec(dllimport)
|
|
|
|
#else
|
|
|
|
# define IMPORT_B
|
|
|
|
#endif
|