diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-01-26 18:23:51 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-26 18:23:51 +0900 |
| commit | bffd6cbd97dd61e347a8f7de36266809444fb4c1 (patch) | |
| tree | fa7fe18cd32d0f9b715e1c583504214d2ddd92d5 /include/ruby/internal/has | |
| parent | 4010cbfe35aa520fe7efc282c7cc16ca67341a91 (diff) | |
Check if `execv` is available for ruby/missing.h
As MinGW has the declaration, the `dllimport` attribute difference
is warned when compiling missing/*.c without including ruby/win32.h.
```
../src/include/ruby/missing.h:316:17: warning: 'execv' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
316 | RUBY_EXTERN int execv(const char *, char *const []);
| ^~~~~
```
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5491
Merged-By: nobu <nobu@ruby-lang.org>
Diffstat (limited to 'include/ruby/internal/has')
0 files changed, 0 insertions, 0 deletions
