mirror of https://github.com/status-im/evmc.git
Add EVMC_NOEXCEPT helper
This commit is contained in:
parent
332d03570c
commit
0443370d29
|
@ -10,3 +10,9 @@
|
|||
#else
|
||||
#define EVMC_EXPORT __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
#if __cplusplus
|
||||
#define EVMC_NOEXCEPT noexcept
|
||||
#else
|
||||
#define EVMC_NOEXCEPT
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue