35 #define UE_DEPRECATED_MACRO(Version, Message) EMIT_CUSTOM_ERROR(Message " - Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.")
36 #else
37 #define UE_DEPRECATED_MACRO(Version, Message) EMIT_CUSTOM_WARNING(Message " - Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.")
38 #endif
39#endif
40
41#ifndef DEPRECATED_MACRO
42 #define DEPRECATED_MACRO(Version, Message) UE_DEPRECATED_MACRO(5.1, "The DEPRECATED_MACRO macro has been deprecated in favor of UE_DEPRECATED_MACRO.") UE_DEPRECATED_MACRO(Version, Message)