зеркало из https://github.com/mozilla/pjs.git
Bug 523848 - qcms typedef clashes on AIX with <sys/types.h>. r=jmuizelaar, sr=roc
This commit is contained in:
Родитель
d3a1c63e86
Коммит
6f060d76db
|
@ -60,7 +60,12 @@ 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 {
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
#if defined (__SVR4) && defined (__sun)
|
||||
/* int_types.h gets included somehow, so avoid redefining the types differently */
|
||||
#include <sys/int_types.h>
|
||||
#elif defined (_AIX)
|
||||
#include <sys/types.h>
|
||||
#else
|
||||
typedef PRInt8 int8_t;
|
||||
typedef PRUint8 uint8_t;
|
||||
|
|
Загрузка…
Ссылка в новой задаче