diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-10-03 18:59:09 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-10-15 11:55:09 -0300 |
| commit | 1d73353f236209e9b5987d7c6b30b2a32b739210 (patch) | |
| tree | 3fa1864da887893cedf3fe72f1966f2623d78468 | |
| parent | c155d13167c6ace099e351e28125f9eb3694ae27 (diff) | |
| download | focaccia-qemu-1d73353f236209e9b5987d7c6b30b2a32b739210.tar.gz focaccia-qemu-1d73353f236209e9b5987d7c6b30b2a32b739210.zip | |
qemu/bswap: Undefine CPU_CONVERT() once done
Better undefined macros once we are done with them, like we do few lines later with DO_STN_LDN_P(). Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20241003234211.53644-2-philmd@linaro.org>
| -rw-r--r-- | include/qemu/bswap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h index ad22910a5d..b915835bea 100644 --- a/include/qemu/bswap.h +++ b/include/qemu/bswap.h @@ -140,6 +140,8 @@ CPU_CONVERT(le, 16, uint16_t) CPU_CONVERT(le, 32, uint32_t) CPU_CONVERT(le, 64, uint64_t) +#undef CPU_CONVERT + /* * Same as cpu_to_le{16,32,64}, except that gcc will figure the result is * a compile-time constant if you pass in a constant. So this can be |