[librpbyteswap] byteswap_rp.h: Can't mark __swabf() as constexpr on MSVC.

__swab32(), aka _byteswap_ulong(), is *still* not constexpr on MSVC.
This commit is contained in:
David Korth 2025-05-17 13:02:38 -04:00
parent 8e841026e9
commit 05f08c2d32

View File

@ -138,7 +138,8 @@
* @param f Float to byteswap
* @return Byteswapped float
*/
ATTR_CONST CONSTEXPR_MULTILINE
ATTR_CONST
CONSTEXPR_MULTILINE_NO_MSVC
static inline float __swabf(float f)
{
union {