diff options
| author | Jiaxun Yang | 2021-01-18 07:38:03 +0100 |
|---|---|---|
| committer | Thomas Huth | 2021-01-20 10:46:54 +0100 |
| commit | 9c57272507a95cde3c9c2c90af2312f92cb55422 (patch) | |
| tree | 5068ef68ec00e26c0618e11a74306a06e94c5e86 /linux-user | |
| parent | libvhost-user: Include poll.h instead of sys/poll.h (diff) | |
| download | qemu-9c57272507a95cde3c9c2c90af2312f92cb55422.tar.gz qemu-9c57272507a95cde3c9c2c90af2312f92cb55422.tar.xz qemu-9c57272507a95cde3c9c2c90af2312f92cb55422.zip | |
hw/block/nand: Rename PAGE_SIZE to NAND_PAGE_SIZE
As per POSIX specification of limits.h [1], OS libc may define
PAGE_SIZE in limits.h.
To prevent collosion of definition, we rename PAGE_SIZE here.
[1]: https://pubs.opengroup.org/onlinepubs/7908799/xsh/limits.h.html
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210118063808.12471-5-jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions
