Closed amaiorano closed 6 years ago
#ifdef __GNUC__ #define HSM_DEPRECATED(MESSAGE) __attribute__((deprecated("DEPRECATED: " MESSAGE))) #elif defined(_MSC_VER) #define HSM_DEPRECATED(MESSAGE) __declspec(deprecated("DEPRECATED: " MESSAGE)) #else #pragma message("Implement HSM_DEPRECATED for this compiler") #define HSM_DEPRECATED #endif