VirtualBox

Changeset 75333 in vbox


Ignore:
Timestamp:
Nov 9, 2018 1:20:06 AM (6 years ago)
Author:
vboxsync
Message:

VBox/shflsvc.h: Fixed SHFLCREATERESULT so the compilers (e.g. watcom) won't shrink the type and mess up the SHFLCREATEPARMS structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/shflsvc.h

    r72627 r75333  
    173173    {
    174174#if 1
     175        char     ach[1];                /**< UTF-8 but with a type that makes some more sense. */
    175176        uint8_t  utf8[1];
    176177        RTUTF16  utf16[1];
     
    539540    SHFL_FILE_CREATED,
    540541    /** Existing file was replaced or overwritten. */
    541     SHFL_FILE_REPLACED
     542    SHFL_FILE_REPLACED,
     543    /** Blow the type up to 32-bit. */
     544    SHFL_32BIT_HACK = 0x7fffffff
    542545} SHFLCREATERESULT;
     546AssertCompile(SHFL_NO_RESULT == 0);
     547AssertCompileSize(SHFLCREATERESULT, 4);
    543548
    544549
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