Bug 672280. qcms: Use C99-style flexible arrays. r=bgirard

This is in preparation for adding more of these for the
upcoming ICCv4 parsing.
This commit is contained in:
Jeff Muizelaar 2011-07-19 11:17:47 -04:00
parent 3e32b14471
commit 05510f6c09

View File

@ -67,12 +67,7 @@ struct XYZNumber {
struct curveType {
uint32_t count;
/* Using the C99 flexible array member syntax with IBM compiler */
#if defined (__IBMC__) || defined (__IBMCPP__)
uInt16Number data[];
#else
uInt16Number data[0];
#endif
};
struct lutType {