зеркало из https://github.com/mozilla/pjs.git
Bug 487566 - OS/2 problems to build qcms; r=mozilla@Weilbacher.org
This commit is contained in:
Родитель
de154d4197
Коммит
3403e7277e
|
@ -35,6 +35,10 @@ typedef uint16_t __be16;
|
|||
#define LITTLE_ENDIAN
|
||||
#endif
|
||||
|
||||
#ifdef __OS2__
|
||||
#define LITTLE_ENDIAN
|
||||
#endif
|
||||
|
||||
#if !defined(BIG_ENDIAN) && !defined(LITTLE_ENDIAN)
|
||||
#error Unknown endianess
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <stdlib.h>
|
||||
#include "qcms.h"
|
||||
#include "qcmstypes.h"
|
||||
|
||||
|
|
|
@ -13,7 +13,13 @@ typedef PRInt32 int32_t;
|
|||
typedef PRUint32 uint32_t;
|
||||
typedef PRInt64 int64_t;
|
||||
typedef PRUint64 uint64_t;
|
||||
|
||||
#ifdef __OS2__
|
||||
/* OS/2's stdlib typdefs uintptr_t. So we'll just include that so we don't collide */
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
typedef PRUptrdiff uintptr_t;
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче