diff options
author | Adeel Mujahid <3840695+am11@users.noreply.github.com> | 2022-05-05 22:30:48 +0300 |
---|---|---|
committer | Dave Watson <dade.watson@gmail.com> | 2022-05-22 11:19:09 -0700 |
commit | 7dc184fbeb550c8710a7b25a1462968c7bfed92a (patch) | |
tree | 945417aa0348adf9dd7ceeebd756a250fe3949dd /include | |
parent | 88506098d635310160bba8978cd617915d1f5143 (diff) | |
download | libunwind-7dc184fbeb550c8710a7b25a1462968c7bfed92a.tar.gz |
Use constant for array size in os-linux
When cross-compiling for Linux on Windows using VC toolchain
(in dotnet/runtime), we get the following error:
> error C2057: expected constant expression
This is because VC runtime does not support VLAs
The fix is to use a C constant.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions