19 lines
336 B
C
Raw Normal View History

2012-04-19 19:04:21 +03:00
#ifdef A_DEF
2018-08-09 18:06:22 +02:00
# error "A_DEF must not be defined"
2012-04-19 19:04:21 +03:00
#endif
#ifndef B_DEF
2018-08-09 18:06:22 +02:00
# error "B_DEF not defined"
2012-04-19 19:04:21 +03:00
#endif
2013-03-16 19:13:01 +02:00
2012-04-19 19:04:21 +03:00
#if defined(_WIN32) && defined(Bexport)
2018-08-09 18:06:22 +02:00
# define EXPORT_B __declspec(dllexport)
2012-04-19 19:04:21 +03:00
#else
2018-08-09 18:06:22 +02:00
# define EXPORT_B
2012-04-19 19:04:21 +03:00
#endif
2013-03-16 19:13:01 +02:00
#if defined(_WIN32) && defined(SHARED_B)
2018-08-09 18:06:22 +02:00
# define IMPORT_B __declspec(dllimport)
2013-03-16 19:13:01 +02:00
#else
2018-08-09 18:06:22 +02:00
# define IMPORT_B
2013-03-16 19:13:01 +02:00
#endif