51 #define DFMT_SUN 0x1111 52 #define DFMT_SUN_INTEL 0x4441 53 #define DFMT_ALLIANT 0x1111 54 #define DFMT_IRIX 0x1111 55 #define DFMT_APOLLO 0x1111 56 #define DFMT_IBM6000 0x1111 57 #define DFMT_HP9000 0x1111 58 #define DFMT_CONVEXNATIVE 0x5511 59 #define DFMT_CONVEX 0x1111 60 #define DFMT_UNICOS 0x3331 61 #define DFMT_UNICOSIEEE 0x1831 62 #define DFMT_CTSS 0x3331 63 #define DFMT_VAX 0x2221 64 #define DFMT_MIPSEL 0x4441 65 #define DFMT_PC 0x4441 66 #define DFMT_APPLE 0x1111 67 #define DFMT_APPLE_INTEL 0x4441 68 #define DFMT_MAC 0x1111 69 #define DFMT_SUN386 0x4441 70 #define DFMT_NEXT 0x1111 71 #define DFMT_MOTOROLA 0x1111 72 #define DFMT_ALPHA 0x4441 73 #define DFMT_VP 0x6611 74 #define DFMT_I860 0x4441 75 #define DFMT_CRAYMPP 0x1171 76 #define DFMT_IA64 0x4441 77 #define DFMT_LINUX64 0x4441 78 #define DFMT_POWERPC64 0x1111 107 #if (defined(SUN) || defined(sun) || defined(__sun__) || defined(__SUNPRO_C)) & !defined(__i386) 122 If you
get an error on
this line more than one machine
type has been defined.
123 Please check your Makefile.
128 #include <sys/time.h> 129 #include <sys/file.h> 130 #include <sys/stat.h> 131 #if (defined __sun) && (defined __amd64 || defined __i386) 132 #define DF_MT DFMT_SUN_INTEL 134 #define DF_MT DFMT_SUN 140 typedef unsigned char uchar8;
142 typedef unsigned char uint8;
143 typedef short int int16;
144 typedef unsigned short int uint16;
147 typedef unsigned int uint32;
149 typedef long int int32;
150 typedef unsigned long int uint32;
153 typedef unsigned int uintn;
155 typedef float float32;
156 typedef double float64;
158 typedef long hdf_pint_t;
160 typedef int hdf_pint_t;
162 #define FNAME_POST_UNDERSCORE 163 #define _fcdtocp(desc) (desc) 164 #define FILELIB UNIXBUFIO 171 #define JMEMSYS MEM_ANSI 173 #define INCLUDES_ARE_ANSI 184 If you
get an error on
this line more than one machine
type has been defined.
185 Please check your Makefile.
195 #include <sys/file.h> 196 #include <sys/stat.h> 197 #define DF_MT DFMT_SUN 202 typedef unsigned char uchar8;
204 typedef unsigned char uint8;
205 typedef short int int16;
206 typedef unsigned short int uint16;
207 typedef long int int32;
208 typedef unsigned long int uint32;
210 typedef unsigned int uintn;
212 typedef float float32;
213 typedef double float64;
214 typedef int hdf_pint_t;
215 #define FNAME_POST_UNDERSCORE 216 #define _fcdtocp(desc) (desc) 217 #define FILELIB UNIXBUFIO 224 #define JMEMSYS MEM_ANSI 228 #define INCLUDES_ARE_ANSI 234 #if defined(IBM6000) || defined(_AIX) 241 If you
get an error on
this line more than one machine
type has been defined.
242 Please check your Makefile.
251 #include <sys/file.h> 252 #include <sys/stat.h> 253 #define DF_MT DFMT_IBM6000 259 typedef short int int16;
263 typedef unsigned char uchar8;
264 typedef unsigned char uint8;
265 typedef unsigned short int uint16;
266 typedef unsigned int uint32;
268 typedef unsigned int uintn;
269 typedef float float32;
270 typedef double float64;
273 typedef long hdf_pint_t;
275 typedef int hdf_pint_t;
277 #define _fcdtocp(desc) (desc) 278 #define FILELIB UNIXBUFIO 285 #define JMEMSYS MEM_ANSI 288 #define INCLUDES_ARE_ANSI 292 #if defined(HP9000) || (!defined(__convexc__) && (defined(hpux) || defined(__hpux))) 299 If you
get an error on
this line more than one machine
type has been defined.
300 Please check your Makefile.
304 #ifndef HAVE_UNISTD_H 305 #define HAVE_UNISTD_H 312 #include <sys/file.h> 313 #include <sys/stat.h> 314 #define DF_MT DFMT_HP9000 319 typedef unsigned char uchar8;
321 typedef unsigned char uint8;
322 typedef short int int16;
323 typedef unsigned short int uint16;
326 typedef unsigned int uint32;
328 typedef long int int32;
329 typedef unsigned long int uint32;
332 typedef unsigned int uintn;
333 typedef float float32;
334 typedef double float64;
337 typedef long hdf_pint_t;
339 typedef int hdf_pint_t;
341 #define _fcdtocp(desc) (desc) 342 #define FILELIB UNIXBUFIO 349 #define JMEMSYS MEM_ANSI 354 #if defined(IRIX) || defined(IRIS4) || defined(sgi) || defined(__sgi__) || defined(__sgi) 360 #if (_MIPS_SZLONG == 64) 369 If you
get an error on
this line more than one machine
type has been defined.
370 Please check your Makefile.
372 #define GOT_MACHINE 1 385 #include <sys/file.h> 386 #include <sys/stat.h> 387 #define DF_MT DFMT_IRIX 391 typedef signed char char8;
392 typedef unsigned char uchar8;
393 typedef signed char int8;
394 typedef unsigned char uint8;
395 typedef short int int16;
396 typedef unsigned short int uint16;
398 typedef unsigned int uint32;
400 typedef unsigned int uintn;
401 typedef float float32;
402 typedef double float64;
404 typedef long hdf_pint_t;
405 #define FNAME_POST_UNDERSCORE 406 #define _fcdtocp(desc) (desc) 407 #define FILELIB UNIXBUFIO 420 #define JMEMSYS MEM_ANSI 423 #define INCLUDES_ARE_ANSI 427 #if (defined(UNICOS) || defined(_UNICOS)) && !defined(_CRAYMPP) 434 If you
get an error on
this line more than one machine
type has been defined.
435 Please check your Makefile.
437 #define GOT_MACHINE 1 444 #include <sys/stat.h> 448 #define DF_MT DFMT_UNICOSIEEE 450 #define DF_MT DFMT_UNICOS 457 typedef signed char char8;
458 typedef unsigned char uchar8;
459 typedef signed char int8;
460 typedef unsigned char uint8;
462 typedef unsigned int uint16;
464 typedef unsigned int uint32;
466 typedef unsigned int uintn;
467 typedef float float32;
468 typedef double float64;
470 typedef int hdf_pint_t;
473 #define FILELIB UNIXBUFIO 480 #define JMEMSYS MEM_ANSI 481 #define RIGHT_SHIFT_IS_UNSIGNED 482 #define CHAR_IS_UNSIGNED 486 #if defined(_CRAYMPP) 493 If you
get an error on
this line more than one machine
type has been defined.
494 Please check your Makefile.
496 #define GOT_MACHINE 1 505 #include <sys/stat.h> 508 #define DF_MT DFMT_CRAYMPP 514 typedef signed char char8;
515 typedef unsigned char uchar8;
516 typedef signed char int8;
517 typedef unsigned char uint8;
519 typedef unsigned short uint16;
521 typedef unsigned short uint32;
523 typedef unsigned int uintn;
524 typedef float float32;
525 typedef double float64;
527 typedef int hdf_pint_t;
531 #define FILELIB UNIXBUFIO 538 #define JMEMSYS MEM_ANSI 539 #define RIGHT_SHIFT_IS_UNSIGNED 540 #define CHAR_IS_UNSIGNED 553 #if ((defined(__QK_USER__)) && (defined(__x86_64__))) 557 #if defined(VMS) || defined(vms) 560 If you
get an error on
this line more than one machine
type has been defined.
561 Please check your Makefile.
563 #define GOT_MACHINE 1 565 #include <sys/stat.h> 566 #define DF_MT DFMT_VAX 571 typedef unsigned char uchar8;
573 typedef unsigned char uint8;
574 typedef short int int16;
575 typedef unsigned short int uint16;
578 typedef unsigned int uint32;
579 typedef long hdf_pint_t;
581 typedef long int int32;
582 typedef unsigned long int uint32;
583 typedef int hdf_pint_t;
586 typedef unsigned int uintn;
587 typedef float float32;
588 typedef double float64;
590 #define _fcdtocp(desc) ((char *) *((char **) &desc[4])) 596 #define FILELIB UNIXBUFIO 606 #define JMEMSYS MEM_ANSI 610 #if defined(CONVEX) || defined(CONVEXNATIVE) || defined(__convexc__) 617 If you
get an error on
this line more than one machine
type has been defined.
618 Please check your Makefile.
622 #include <sys/types.h> 623 #include <sys/stat.h> 626 #define DF_MT DFMT_CONVEXNATIVE 628 #define DF_MT DFMT_CONVEX 634 typedef unsigned char uchar8;
636 typedef unsigned char uint8;
637 typedef short int int16;
638 typedef unsigned short int uint16;
639 typedef long int int32;
640 typedef unsigned long int uint32;
642 typedef unsigned int uintn;
643 typedef float float32;
644 typedef double float64;
646 typedef int hdf_pint_t;
647 #define _fcdtocp(desc) (desc) 648 #define FILELIB UNIXBUFIO 655 #define JMEMSYS MEM_ANSI 656 #define RIGHT_SHIFT_IS_UNSIGNED 657 #define INCLUDES_ARE_ANSI 663 #if defined (__APPLE__) 668 #ifdef __LITTLE_ENDIAN__ 669 #define DF_MT DFMT_APPLE_INTEL 671 #define DF_MT DFMT_APPLE 674 If you
get an error on
this line more than one machine
type has been defined.
675 Please check your Makefile.
677 #define GOT_MACHINE 1 683 #include <sys/types.h> 684 #include <sys/file.h> 685 #include <sys/stat.h> 696 typedef unsigned char uchar8;
698 typedef unsigned char uint8;
700 typedef unsigned short uint16;
702 typedef unsigned int uint32;
704 typedef unsigned int uintn;
705 typedef float float32;
706 typedef double float64;
708 typedef long hdf_pint_t;
709 #define _fcdtocp(desc) (desc) 710 #define FILELIB UNIXBUFIO 717 #define JMEMSYS MEM_ANSI 721 #if defined(MIPSEL) || ((defined(mips) || defined(__mips)) && (defined(ultrix) || defined(__ultrix))) 728 If you
get an error on
this line more than one machine
type has been defined.
729 Please check your Makefile.
731 #define GOT_MACHINE 1 737 #include <sys/types.h> 738 #include <sys/file.h> 739 #include <sys/stat.h> 740 #define DF_MT DFMT_MIPSEL 745 typedef unsigned char uchar8;
747 typedef unsigned char uint8;
749 typedef unsigned short uint16;
751 typedef unsigned int uint32;
753 typedef unsigned int uintn;
754 typedef float float32;
755 typedef double float64;
757 typedef int hdf_pint_t;
758 #define _fcdtocp(desc) (desc) 759 #define FNAME_POST_UNDERSCORE 760 #define FILELIB UNIXBUFIO 767 #define JMEMSYS MEM_ANSI 771 #if defined(MAC) || defined(macintosh) || defined (SYMANTEC_C) 774 If you
get an error on
this line more than one machine
type has been defined.
775 Please check your Makefile.
777 #define GOT_MACHINE 1 787 #define isascii(c) (isprint(c) || iscntrl(c)) 795 #define DF_MT DFMT_MAC 801 typedef unsigned char uchar8;
803 typedef unsigned char uint8;
804 typedef short int int16;
805 typedef unsigned short int uint16;
806 typedef long int int32;
807 typedef unsigned long int uint32;
809 typedef unsigned int uintn;
810 typedef float float32;
811 typedef double float64;
813 typedef int hdf_pint_t;
814 #define _fcdtocp(desc) (desc) 815 void exit(
int status);
817 #define FILELIB MACIO 824 #define JMEMSYS MEM_ANSI 829 #if !(defined(macintosh) || defined(MAC) || defined (__APPLE__)) 831 #if defined _M_ALPHA || defined _M_X64 || defined _M_IA64 || defined _M_IX86 || defined INTEL86 || defined M_I86 || defined M_I386 || defined DOS386 || defined __i386 || defined UNIX386 || defined i386 836 #if !defined UNIX386 && (defined unix || defined __unix) 840 #if !defined DOS386 && defined M_I386 844 #if defined _WINDOWS || defined _WIN32 848 #if defined WIN386 || defined DOS386 || defined UNIX386 853 If you
get an error on
this line more than one machine
type has been defined.
854 Please check your Makefile.
856 #define GOT_MACHINE 1 858 #if defined _WINDOWS || defined _WIN32 859 #pragma comment( lib, "oldnames" ) 864 #include <sys/types.h> 865 #include <sys/stat.h> 868 #include <sys\types.h> 869 #include <sys\stat.h> 881 #ifndef GMEM_MOVEABLE 888 #define DF_MT DFMT_PC 893 typedef void * VOIDP;
896 typedef unsigned char uchar8;
898 typedef unsigned char uint8;
899 typedef short int int16;
900 typedef unsigned short int uint16;
901 typedef long int int32;
902 typedef unsigned long int uint32;
904 typedef unsigned int uintn;
905 typedef float float32;
906 typedef double float64;
909 typedef long long hdf_pint_t;
911 typedef int hdf_pint_t;
915 #define FNAME_PRE_UNDERSCORE 923 #define FNAME_POST_UNDERSCORE 925 #elif defined INTEL386 928 #define _fcdtocp(desc) (desc) 930 #define FILELIB UNIXBUFIO 937 #define JMEMSYS MEM_ANSI 939 #define INCLUDES_ARE_ANSI 945 #if defined(NEXT) || defined(NeXT) 952 If you
get an error on
this line more than one machine
type has been defined.
953 Please check your Makefile.
957 #define isascii(c) (isprint(c) || iscntrl(c)) 961 #include <sys/file.h> 962 #include <sys/stat.h> 963 #define DF_MT DFMT_NEXT 968 typedef unsigned char uchar8;
970 typedef unsigned char uint8;
971 typedef short int int16;
972 typedef unsigned short int uint16;
973 typedef long int int32;
974 typedef unsigned long int uint32;
976 typedef unsigned int uintn;
978 typedef float float32;
979 typedef double float64;
980 typedef int hdf_pint_t;
981 #define FNAME_POST_UNDERSCORE 982 #define _fcdtocp(desc) (desc) 983 #define FILELIB UNIXBUFIO 990 #define JMEMSYS MEM_ANSI 993 #define INCLUDES_ARE_ANSI 998 #if defined(MOTOROLA) || defined(m88k) 1001 If you
get an error on
this line more than one machine
type has been defined.
1002 Please check your Makefile.
1010 #include <sys/file.h> 1011 #include <sys/stat.h> 1015 #define DF_MT DFMT_MOTOROLA 1017 typedef void *VOIDP;
1020 typedef unsigned char uchar8;
1022 typedef unsigned char uint8;
1023 typedef short int int16;
1024 typedef unsigned short int uint16;
1025 typedef long int int32;
1026 typedef unsigned long int uint32;
1028 typedef unsigned int uintn;
1030 typedef float float32;
1031 typedef double float64;
1032 typedef int hdf_pint_t;
1033 #define FNAME_POST_UNDERSCORE 1034 #define _fcdtocp(desc) (desc) 1035 #define FILELIB UNIXBUFIO 1042 #define JMEMSYS MEM_ANSI 1047 #if defined DEC_ALPHA || (defined __alpha && defined __unix__) 1054 If you
get an error on
this line more than one machine
type has been defined.
1055 Please check your Makefile.
1059 #include <sys/file.h> 1060 #include <sys/stat.h> 1061 #define DF_MT DFMT_ALPHA 1063 typedef void *VOIDP;
1066 typedef unsigned char uchar8;
1068 typedef unsigned char uint8;
1069 typedef short int int16;
1070 typedef unsigned short int uint16;
1071 #ifndef __rpc_types_h 1073 typedef unsigned int uint32;
1076 typedef unsigned int uintn;
1078 typedef float float32;
1079 typedef double float64;
1080 typedef long hdf_pint_t;
1081 #define FNAME_POST_UNDERSCORE 1082 #define _fcdtocp(desc) (desc) 1083 #define FILELIB UNIXBUFIO 1090 #define JMEMSYS MEM_ANSI 1094 #define INCLUDES_ARE_ANSI 1100 #if defined VP | defined __uxpm__ 1107 If you
get an error on
this line more than one machine
type has been defined.
1108 Please check your Makefile.
1110 #define GOT_MACHINE 1 1113 #include <sys/types.h> 1114 #include <sys/stat.h> 1115 #define DF_MT DFMT_VP 1117 typedef void *VOIDP;
1120 typedef unsigned char uchar8;
1122 typedef unsigned char uint8;
1123 typedef short int int16;
1124 typedef unsigned short int uint16;
1125 typedef long int int32;
1126 typedef unsigned long int uint32;
1128 typedef unsigned int uintn;
1130 typedef float float32;
1131 typedef double float64;
1132 typedef int hdf_pint_t;
1133 #define FNAME_POST_UNDERSCORE 1134 #define _fcdtocp(desc) (desc) 1135 #define FILELIB UNIXBUFIO 1142 #define JMEMSYS MEM_ANSI 1147 #if defined I860 | defined i860 1154 If you
get an error on
this line more than one machine
type has been defined.
1155 Please check your Makefile.
1157 #define GOT_MACHINE 1 1159 #include <sys/types.h> 1160 #include <sys/file.h> 1161 #include <sys/stat.h> 1163 #define DF_MT DFMT_I860 1165 typedef void *VOIDP;
1168 typedef unsigned char uchar8;
1170 typedef unsigned char uint8;
1171 typedef short int16;
1172 typedef unsigned short uint16;
1174 typedef unsigned int uint32;
1176 typedef unsigned int uintn;
1177 typedef float float32;
1178 typedef double float64;
1180 typedef int hdf_pint_t;
1181 #define _fcdtocp(desc) (desc) 1182 #define FNAME_POST_UNDERSCORE 1183 #define FILELIB UNIXBUFIO 1190 #define JMEMSYS MEM_ANSI 1197 #if defined __powerpc64__ 1200 If you
get an error on
this line more than one machine
type has been defined.
1201 Please check your Makefile.
1205 #include <sys/file.h> 1206 #include <sys/stat.h> 1207 #define DF_MT DFMT_POWERPC64 1209 typedef void *VOIDP;
1212 typedef unsigned char uchar8;
1214 typedef unsigned char uint8;
1215 typedef short int int16;
1216 typedef unsigned short int uint16;
1218 typedef unsigned int uint32;
1220 typedef unsigned int uintn;
1222 typedef float float32;
1223 typedef double float64;
1224 typedef long hdf_pint_t;
1225 #if defined __GNUC__ 1226 #define FNAME_POST_UNDERSCORE 1228 #define _fcdtocp(desc) (desc) 1229 #define FILELIB UNIXBUFIO 1236 #define JMEMSYS MEM_ANSI 1240 #define INCLUDES_ARE_ANSI 1246 #if defined(__linux__) && defined __x86_64__ && !(defined SUN) 1249 If you
get an error on
this line more than one machine
type has been defined.
1250 Please check your Makefile.
1254 #include <sys/file.h> 1255 #include <sys/stat.h> 1256 #define DF_MT DFMT_LINUX64 1258 typedef void *VOIDP;
1261 typedef unsigned char uchar8;
1263 typedef unsigned char uint8;
1264 typedef short int int16;
1265 typedef unsigned short int uint16;
1267 typedef unsigned int uint32;
1269 typedef unsigned int uintn;
1271 typedef float float32;
1272 typedef double float64;
1273 typedef long hdf_pint_t;
1274 #define FNAME_POST_UNDERSCORE 1275 #define _fcdtocp(desc) (desc) 1276 #define FILELIB UNIXBUFIO 1283 #define JMEMSYS MEM_ANSI 1287 #define INCLUDES_ARE_ANSI 1295 #if defined __FreeBSD__ && defined __x86_64__ 1298 If you
get an error on
this line more than one machine
type has been defined.
1299 Please check your Makefile.
1303 #include <sys/file.h> 1304 #include <sys/stat.h> 1305 #define DF_MT DFMT_LINUX64 1307 typedef void *VOIDP;
1310 typedef unsigned char uchar8;
1312 typedef unsigned char uint8;
1313 typedef short int int16;
1314 typedef unsigned short int uint16;
1316 typedef unsigned int uint32;
1318 typedef unsigned int uintn;
1320 typedef float float32;
1321 typedef double float64;
1322 typedef long hdf_pint_t;
1323 #define FNAME_POST_UNDERSCORE 1324 #define _fcdtocp(desc) (desc) 1325 #define FILELIB UNIXBUFIO 1332 #define JMEMSYS MEM_ANSI 1336 #define INCLUDES_ARE_ANSI 1344 #if defined __ia64 && !(defined(hpux) || defined(__hpux)) 1347 If you
get an error on
this line more than one machine
type has been defined.
1348 Please check your Makefile.
1352 #include <sys/file.h> 1353 #include <sys/stat.h> 1354 #define DF_MT DFMT_IA64 1356 typedef void *VOIDP;
1359 typedef unsigned char uchar8;
1361 typedef unsigned char uint8;
1362 typedef short int int16;
1363 typedef unsigned short int uint16;
1365 typedef unsigned int uint32;
1367 typedef unsigned int uintn;
1369 typedef float float32;
1370 typedef double float64;
1371 typedef long hdf_pint_t;
1372 #define FNAME_POST_UNDERSCORE 1373 #define _fcdtocp(desc) (desc) 1374 #define FILELIB UNIXBUFIO 1381 #define JMEMSYS MEM_ANSI 1385 #define INCLUDES_ARE_ANSI 1391 No machine
type has been defined. Your Makefile needs to have someing like
1392 -DSUN or -DUNICOS in
order for the
HDF internal structures to be defined
1400 # define INT16ENCODE(p, i) \ 1401 { *(p) = (uint8)(((uintn)(i) >> 8) & 0xff); (p)++; \ 1402 *(p) = (uint8)((uintn)(i) & 0xff); (p)++; } 1404 # define UINT16ENCODE(p, i) \ 1405 { *(p) = (uint8)(((uintn)(i) >> 8) & 0xff); (p)++; *(p) = (uint8)((i) & 0xff); (p)++; } 1407 # define INT32ENCODE(p, i) \ 1408 { *(p) = (uint8)(((uint32)(i) >> 24) & 0xff); (p)++; \ 1409 *(p) = (uint8)(((uint32)(i) >> 16) & 0xff); (p)++; \ 1410 *(p) = (uint8)(((uint32)(i) >> 8) & 0xff); (p)++; \ 1411 *(p) = (uint8)((uint32)(i) & 0xff); (p)++; } 1413 # define UINT32ENCODE(p, i) \ 1414 { *(p) = (uint8)(((i) >> 24) & 0xff); (p)++; \ 1415 *(p) = (uint8)(((i) >> 16) & 0xff); (p)++; \ 1416 *(p) = (uint8)(((i) >> 8) & 0xff); (p)++; \ 1417 *(p) = (uint8)((i) & 0xff); (p)++; } 1419 # define NBYTEENCODE(d, s, n) \ 1420 { HDmemcpy(d,s,n); p+=n } 1430 # define INT16DECODE(p, i) \ 1431 { (i) = ((*(p) & 0x80) ? ~0xffff : 0x00) | ((int16)(*(p) & 0xff) << 8); (p)++; \ 1432 (i) |= (int16)((*(p) & 0xff)); (p)++; } 1434 # define UINT16DECODE(p, i) \ 1435 { (i) = (uint16)((*(p) & 0xff) << 8); (p)++; \ 1436 (i) |= (uint16)(*(p) & 0xff); (p)++; } 1438 # define INT32DECODE(p, i) \ 1439 { (i) = ((*(p) & 0x80) ? ~0xffffffff : 0x00) | ((int32)(*(p) & 0xff) << 24); (p)++; \ 1440 (i) |= ((int32)(*(p) & 0xff) << 16); (p)++; \ 1441 (i) |= ((int32)(*(p) & 0xff) << 8); (p)++; \ 1442 (i) |= (*(p) & 0xff); (p)++; } 1444 # define UINT32DECODE(p, i) \ 1445 { (i) = ((uint32)(*(p) & 0xff) << 24); (p)++; \ 1446 (i) |= ((uint32)(*(p) & 0xff) << 16); (p)++; \ 1447 (i) |= ((uint32)(*(p) & 0xff) << 8); (p)++; \ 1448 (i) |= (uint32)(*(p) & 0xff); (p)++; } 1452 # define NBYTEDECODE(s, d, n) \ 1453 { HDmemcpy(d,s,n); p+=n } 1472 # define FCALLKEYW pascal 1473 # define FRETVAL(x) pascal x 1479 # define FRETVAL(x) x 1491 #if defined(FNAME_PRE_UNDERSCORE) && defined(FNAME_POST_UNDERSCORE) 1492 # define FNAME(x) _##x##_ 1494 #if defined(FNAME_PRE_UNDERSCORE) && !defined(FNAME_POST_UNDERSCORE) 1495 # define FNAME(x) _##x 1497 #if !defined(FNAME_PRE_UNDERSCORE) && defined(FNAME_POST_UNDERSCORE) 1498 # define FNAME(x) x##_ 1500 #if !defined(FNAME_PRE_UNDERSCORE) && !defined(FNAME_POST_UNDERSCORE) 1508 #define MIN(a,b) (((a)<(b)) ? (a) : (b)) 1511 #define MAX(a,b) (((a)>(b)) ? (a) : (b)) 1518 #include "maldebug.h" 1525 #define CONSTR(v,s) char *v=s 1527 #define CONSTR(v,s) static const char v[]=s 1531 #define HDgetspace HDmalloc 1532 #define HDclearspace HDcalloc 1533 #define HDregetspace HDrealloc 1534 #define HDfreespace HDfree 1539 #if !defined(MALLOC_CHECK) 1540 # define HDmalloc(s) (malloc((size_t)s)) 1541 # define HDcalloc(a,b) (calloc((size_t)a,(size_t)b)) 1542 # define HDfree(p) (free((void*)p)) 1543 # define HDrealloc(p,s) (realloc((void*)p,(size_t)s)) 1546 #define HDfreenclear(p) { if((p)!=NULL) HDfree(p); p=NULL; } 1552 # define HDstrcat(s1,s2) (strcat((s1),(s2))) 1553 # define HDstrcmp(s,t) (strcmp((s),(t))) 1554 # define HDstrcpy(s,d) (strcpy((s),(d))) 1555 # define HDstrlen(s) (strlen((const char *)(s))) 1556 # define HDstrncmp(s1,s2,n) (strncmp((s1),(s2),(n))) 1557 # define HDstrncpy(s1,s2,n) (strncpy((s1),(s2),(n))) 1558 # define HDstrchr(s,c) (strchr((s),(c))) 1559 # define HDstrrchr(s,c) (strrchr((s),(c))) 1560 # define HDstrtol(s,e,b) (strtol((s),(e),(b))) 1562 #if !(defined VMS || defined macintosh || defined MAC || defined SYMANTEC_C || defined MIPSEL || defined NEXT || defined CONVEX || defined IBM6000 || defined ANSISUN || defined IRIX ) 1563 # define HDstrdup(s) ((char *)strdup((const char *)(s))) 1571 # define HDmemcpy(dst,src,n) (memcpy((void *)(dst),(const void *)(src),(size_t)(n))) 1572 # define HDmemset(dst,c,n) (memset((void *)(dst),(intn)(c),(size_t)(n))) 1573 # define HDmemcmp(dst,src,n) (memcmp((const void *)(dst),(const void *)(src),(size_t)(n))) 1579 #if defined (MAC) || defined (macintosh) || defined (SYMANTEC_C) 1580 #define HDstat(path, result) (mstat(path)) 1582 #define HDstat(path, result) (stat(path, result)) 1584 #define HDgetenv(s1) (getenv(s1)) 1585 #define HDputenv(s1) (putenv(s1)) 1586 #define HDltoa(v) (ltoa(v)) 1587 #if defined (SUN) && defined(__GNUC__) 1588 #define HDatexit(f) (0) 1590 #define HDatexit(f) (atexit(f)) 1594 #define DFSDnumber DFSDndatasets
HDFFCLIBAPI _fcd intf intf * order
HDFFCLIBAPI intf intf intf * type