diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2020-05-25 15:09:24 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2020-05-25 15:09:24 +0000 |
commit | f815f794ebdd224e3dcffcde6fb122537ab0626d (patch) | |
tree | 7a61f2a4145ea727ffe5fcf9d8e16b4c410419e6 /src/VBox/Devices/testcase | |
parent | af56b5e266c3995a9d9ca5225c8128395059c3b7 (diff) | |
download | VirtualBox-svn-f815f794ebdd224e3dcffcde6fb122537ab0626d.tar.gz |
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
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@84509 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Devices/testcase')
-rw-r--r-- | src/VBox/Devices/testcase/tstDeviceInternal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/VBox/Devices/testcase/tstDeviceInternal.h b/src/VBox/Devices/testcase/tstDeviceInternal.h index b1cc5193e74..53cf919744e 100644 --- a/src/VBox/Devices/testcase/tstDeviceInternal.h +++ b/src/VBox/Devices/testcase/tstDeviceInternal.h @@ -130,6 +130,7 @@ typedef struct TSTDEVMMHEAPALLOC /** Size of the allocation. */ size_t cbAlloc; /** Start of the real allocation. */ + RT_FLEXIBLE_ARRAY_EXTENSION uint8_t abAlloc[RT_FLEXIBLE_ARRAY]; } TSTDEVMMHEAPALLOC; /** Pointer to a MM Heap allocation. */ |