#if defined(_WIN32) // MSVC and mingw
#ifdef COMPILE_ITKFILTER_API
#define ITKTEMPLATES_API __declspec(dllexport)
#else
#define ITKTEMPLATES_API __declspec(dllimport)
#endif
#else // for all other platforms ITKTEMPLATES_API is defined to be "nothing"
#define ITKTEMPLATES_API
#endif // MSVC and mingw
