Changeset 66100 in vbox
- Timestamp:
- Mar 14, 2017 7:09:50 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r66098 r66100 2367 2367 #endif 2368 2368 2369 /** @def RT_FLEXIBLE_ARRAY_NESTED2370 * Variant of RT_FLEXIBLE_ARRAY for use in structures that are nested.2371 *2372 * GCC only allow the use of flexible array member in the top structure, whereas2373 * MSC is less strict and let you do struct { struct { char szName[]; } s; };2374 *2375 * @note GCC does not permit using this in a union.2376 *2377 * @sa RT_FLEXIBLE_ARRAY2378 */2379 #ifdef _MSC_VER2380 # define RT_FLEXIBLE_ARRAY_NESTED RT_FLEXIBLE_ARRAY2381 #else2382 # define RT_FLEXIBLE_ARRAY_NESTED 12383 #endif2384 2385 2369 /** 2386 2370 * Checks if the value is a power of two.
Note:
See TracChangeset
for help on using the changeset viewer.