diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-02-06 12:19:56 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-02-06 12:19:56 +0900 |
| commit | 4f6b827e98ae1c5a22ccdc91b0f7a1459f5220a4 (patch) | |
| tree | bc164b0078455fc26612959a697883cc28fea141 /include/ruby | |
| parent | 62190667021529fd625bf84b33d62f403b76a266 (diff) | |
Use `__asm` instead of `asm`
With `--std=c99` option coroutine/arm64/Context.h errs:
```
In file included from cont.c:26:
coroutine/arm64/Context.h:59:5: error: call to undeclared function 'asm'; ISO C99 and later do not support
implicit function declarations [-Wimplicit-function-declaration]
59 | asm ("hint #8;" : "+r"(r17) : "r"(r16));
| ^
```
Also move the common function header.
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions
