mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
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:
parent
3e32b14471
commit
05510f6c09
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user