diff --git a/include/evmc/utils.h b/include/evmc/utils.h index fd0cf90..1e1bf94 100644 --- a/include/evmc/utils.h +++ b/include/evmc/utils.h @@ -10,3 +10,9 @@ #else #define EVMC_EXPORT __attribute__((visibility("default"))) #endif + +#if __cplusplus +#define EVMC_NOEXCEPT noexcept +#else +#define EVMC_NOEXCEPT +#endif