VirtualBox

Ignore:
Timestamp:
May 16, 2024 9:57:20 AM (7 months ago)
Author:
vboxsync
Message:

libs/softloat-3e: Build fix for win.arm64 where float32_t and float64_t have a conflicting definition, bugref:10392

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/softfloat-3e/source/include/softfloat_types.h

    r96145 r104661  
    4949*----------------------------------------------------------------------------*/
    5050typedef struct { uint16_t v; } float16_t;
     51#ifndef VBOX
    5152typedef struct { uint32_t v; } float32_t;
    5253typedef struct { uint64_t v; } float64_t;
     54#else
     55# if !defined(RT_OS_WINDOWS) && !defined(RT_ARCH_ARM64) /* Conflicts with type definition in arm64_neon.h. */
     56typedef struct { uint32_t v; } float32_t;
     57typedef struct { uint64_t v; } float64_t;
     58# else
     59typedef struct { uint32_t v; } soft_float32_t;
     60typedef struct { uint64_t v; } soft_float64_t;
     61
     62#define float32_t soft_float32_t
     63#define float64_t soft_float64_t
     64# endif
     65#endif
    5366typedef struct { uint64_t v[2]; } float128_t;
    5467
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette