Project

General

Profile

« Previous | Next » 

Revision 51fdd2c6

Added by nobu (Nobuyoshi Nakada) about 1 year ago

Move directives outside rb_ary_new3 call

This function may be a macro for optimization, which will be expanded
to rb_ary_new_from_values.

ext/socket/ancdata.c: In function ‘bsock_recvmsg_internal’: ext/socket/ancdata.c:1648:1: error: embedding a directive within macro arguments is not portable 1648 | #if defined(HAVE_STRUCT_MSGHDR_MSG_CONTROL) | ^ ext/socket/ancdata.c:1650:1: error: embedding a directive within macro arguments is not portable 1650 | #else | ^ ext/socket/ancdata.c:1652:1: error: embedding a directive within macro arguments is not portable 1652 | #endif | ^