How is the following macro definition resolved?
#define EMAIL_SERVER_ADAPTER_FATAL_ERROR MSB_RETURN_TYPE_FATAL_ERROR | 1
I mean, is it resolved to 1 or to MSB_RETURN_TYPE_FATAL_ERROR and why?
| has no special meaning in macros. The macro is resolved to
MSB_RETURN_TYPE_FATAL_ERROR | 1
which is bitwise OR of two values (MSB_RETURN_TYPE_FATAL_ERROR and 1).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With