]>
Commit | Line | Data |
---|---|---|
c21c7ea7 JB |
1 | --- hdf-4.2.5/hdf/src/hdfi.h.orig 2010-01-29 05:57:57.000000000 +0100 |
2 | +++ hdf-4.2.5/hdf/src/hdfi.h 2010-10-09 08:33:07.215741882 +0200 | |
3 | @@ -155,7 +155,7 @@ | |
bc1288cc JB |
4 | * be renamed as LONGNEINT32. |
5 | */ | |
6 | ||
7 | -#if (defined(SUN) || defined(sun) || defined(__sun__) || defined(__SUNPRO_C)) & !defined(__i386) | |
8 | +#if (defined(SUN) || defined(sun) || defined(__sun__) || defined(__sparc__) || defined(__SUNPRO_C)) & !defined(__i386) | |
9 | #ifdef __STDC__ | |
10 | #define ANSISUN | |
11 | #else /* __STDC__ */ | |
c21c7ea7 | 12 | @@ -282,7 +282,7 @@ |
bc1288cc JB |
13 | #endif /* SUN */ |
14 | ||
15 | ||
16 | -#if defined(IBM6000) || defined(_AIX) | |
17 | +#if defined(IBM6000) || defined(_AIX) || defined(__powerpc__) | |
18 | ||
19 | #ifndef IBM6000 | |
20 | #define IBM6000 | |
c21c7ea7 | 21 | @@ -326,6 +326,9 @@ |
6780327b JB |
22 | typedef int hdf_pint_t; /* an integer the same size as a pointer */ |
23 | #endif /*AIX5L64 */ | |
24 | #define _fcdtocp(desc) (desc) | |
25 | +#ifdef __GNUC__ | |
26 | +#define FNAME_POST_UNDERSCORE | |
27 | +#endif | |
c21c7ea7 JB |
28 | #define FILELIB UNIXBUFIO |
29 | ||
30 | /* JPEG #define's - Look in the JPEG docs before changing - (Q) */ |