Skip to content

Commit

Permalink
Use C99-style flexible arrays instead of GNU-style
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmuizel committed Jul 21, 2011
1 parent f89ec83 commit 845bce1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions qcmsint.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 845bce1

Please sign in to comment.