15 #ifndef VISIONTRANSFER_COMMON_H 16 #define VISIONTRANSFER_COMMON_H 20 # define VT_EXPORT __declspec(dllexport) 26 #ifdef VISIONTRANSFER_NO_DEPRECATION_WARNINGS 28 # define DEPRECATED(msg) 30 # if __cplusplus >= 201402L 31 # define DEPRECATED(msg) [[deprecated(msg)]] 32 # elif defined(__GNUC__) || defined(__clang__) 33 # define DEPRECATED(msg) __attribute__ ((deprecated(msg))) 34 # elif defined(_MSC_VER) 35 # define DEPRECATED(msg) __declspec(deprecated(msg)) 37 # define DEPRECATED(msg)