mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
19 lines
330 B
C
19 lines
330 B
C
#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
|