diff --git a/include/evmc/evmc.h b/include/evmc/evmc.h index 5d94bcf..1eeb941 100644 --- a/include/evmc/evmc.h +++ b/include/evmc/evmc.h @@ -11,6 +11,17 @@ #ifndef EVMC_H #define EVMC_H +#ifdef __has_attribute +#if __has_attribute(deprecated) +#define EVMC_DEPRECATED __attribute__((deprecated)) +#endif +#endif + +#ifndef EVMC_DEPRECATED +#define EVMC_DEPRECATED +#endif + + #include /* Definition of bool, true and false. */ #include /* Definition of size_t. */ #include /* Definition of int64_t, uint64_t. */