diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-10-10 11:30:37 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-10-10 11:30:37 +0900 |
| commit | 51fdd2c6ca1c96740cb202770c559acb791b3f12 (patch) | |
| tree | 29c54fa878f11605caa215f62a3e6d70d3b049a1 /include/ruby/missing.h | |
| parent | 6f6735898aefd73089247c625ce221350afb39b6 (diff) | |
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
| ^
```
Diffstat (limited to 'include/ruby/missing.h')
0 files changed, 0 insertions, 0 deletions
