You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
324 B

#ifdef A_DEF
#error "A_DEF must not be defined"
#endif
#ifndef B_DEF
#error "B_DEF not defined"
#endif
#if defined(_WIN32) && defined(Bexport)
#define EXPORT_B __declspec(dllexport)
#else
#define EXPORT_B
#endif
#if defined(_WIN32) && defined(SHARED_B)
#define IMPORT_B __declspec(dllimport)
#else
#define IMPORT_B
#endif