From: Marti M. <ma...@li...> - 2005-01-12 09:17:11
|
Hi Sorry for the delay, I was on holidays. Thanks for your update. I am adding your changes to main sources. Best regards, Marti Maria The little cms project http://www.littlecms.com ----- Original Message -----=20 From: Wei...@co...=20 To: lcm...@li...=20 Sent: Friday, January 07, 2005 9:53 AM Subject: [Lcms-user] Portability in HP-Unix Hi,=20 I compile lcms 1.14 in HP-UX by using HP-C compiler. There is a = problem in icc34.h. I think we should add something for portablity in = HP-UX.=20 =20 #if defined(__GNUC__) || defined(__unix__) || defined(__unix) = --> add __unix=20 #include <sys/types.h>=20 typedef int32_t icSignature;=20 #if defined(__sun) || defined(__hpux) --> add __hpux=20 typedef uint8_t icUInt8Number;=20 typedef uint16_t icUInt16Number;=20 typedef uint32_t icUInt32Number;=20 typedef uint32_t icUInt64Number[2];=20 #else=20 /* Unsigned integer numbers */=20 typedef u_int8_t icUInt8Number;=20 typedef u_int16_t icUInt16Number;=20 typedef u_int32_t icUInt32Number;=20 typedef u_int32_t icUInt64Number[2];=20 #endif=20 In the manual of HP-C compiler the symbol __hpux and __unix are = predefined on all HP-UX implementations. I have tested it on HP-Unix.=20 Thanks.=20 Mit freundlichen Gr=FC=DFen Wei Wang ---------------------------------------------------- Compart Systemhaus GmbH Otto-Lilienthal-Stra=DFe 38 D-71034 B=F6blingen fon: +49 (0)7031/6205-57 fax: +49 (0)7031/6205-55 http://www.compart.net ww...@co... |