mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 19:45:41 -04:00
[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:
parent
8e841026e9
commit
05f08c2d32
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user