VirtualBox

Changeset 84509 in vbox for trunk/src/VBox/Additions/os2


Ignore:
Timestamp:
May 25, 2020 3:09:24 PM (5 years ago)
Author:
vboxsync
Message:

iprt/cdefs.h,*: Introducing RT_FLEXIBLE_ARRAY_EXTENSION as a g++ hack that allows us to use RT_FLEXIBLE_ARRAY without the compiler going all pendantic on us. Only tested with 10.1.0. bugref:9746

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/os2/VBoxSF/VBoxSFInternal.h

    r79112 r84509  
    8787    uint8_t             cchName;
    8888    /** The shared folder name.  If there is a tag it follows as a second string. */
     89    RT_FLEXIBLE_ARRAY_EXTENSION
    8990    char                szName[RT_FLEXIBLE_ARRAY];
    9091} VBOXSFFOLDER;
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