Error example:
gost_md.c(54,45): error C2059: syntax error: ':'
gost_md.c(67,5): error C2059: syntax error: 'if'
gost_md.c(69,6): error C2143: syntax error: missing '{' before '->'
gost_md.c(69,6): error C2059: syntax error: '->'
gost_md.c(70,5): error C2059: syntax error: 'return'
gost_md.c(71,1): error C2059: syntax error: '}'
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
* Note: that you cannot template 0 value.
*/
#define TPL(st,field) ( \
- ((st)->field) ?: TPL_VAL(st,field) \
+ ((st)->field) ? ((st)->field) : TPL_VAL(st,field) \
)
#define TPL_VAL(st,field) ( \
* Note: that you cannot template 0 value.
*/
#define TPL(st,field) ( \
- ((st)->field) ?: TPL_VAL(st,field) \
+ ((st)->field) ? ((st)->field) : TPL_VAL(st,field) \
)
#define TPL_VAL(st,field) ( \