VirtualBox

Changeset 82381 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 4, 2019 12:41:34 PM (5 years ago)
Author:
vboxsync
Message:

EFI/VBoxFsDxe: Build fix for fsw testcase.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/fsw_hfs.h

    r81717 r82381  
    4040#include "iprt/asm.h"           /* endian conversion */
    4141
     42#ifndef HOST_POSIX
    4243#include <Library/BaseLib.h>
     44#endif
    4345
    4446//! Block size for HFS volumes.
     
    152154{
    153155#ifdef RT_LITTLE_ENDIAN
     156#ifdef HOST_POSIX
     157    return RT_BE2H_U64(x);
     158#else
    154159    return SwapBytes64(x);
     160#endif
    155161#else
    156162    return x;
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