diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-05-15 13:45:42 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-05-15 13:48:59 +0200 |
| commit | 491919b14f915df3e3b76960582e0dbb8427e259 (patch) | |
| tree | a4956b6988e01b94573c3e781ad5da82534c960e /executor/executor_bsd.h | |
| parent | 3345130d0ff55e38f6a00f98fd796d433d915a0e (diff) | |
pkg/compiler: work around 0-array-size errors due to missing consts
A const can be used as array size. Then if the const is not present
on all arches, compiler will produce an error about 0-sized-array.
There is no easy way to work around this for a user.
Use value of 1 for missing consts. It's just a bit safer.
Diffstat (limited to 'executor/executor_bsd.h')
0 files changed, 0 insertions, 0 deletions
