CWPro7 update

This commit is contained in:
chombier 2001-10-06 09:51:08 +00:00
parent 7891913935
commit 554ac88001
9 changed files with 8 additions and 2 deletions

View File

@ -7,7 +7,9 @@
* Regrettably, this is needed for *int64_t
*/
#include <MacTypes.h>
#include <ansi_parms.h>
#if __MSL__ < 0x7001
typedef char int8_t;
typedef short int16_t;
typedef long int32_t;
@ -18,5 +20,8 @@ typedef unsigned long uint32_t;
typedef UInt64 uint64_t;
typedef long intptr_t;
typedef unsigned long uintptr_t;
#else
#include <stdint.h>
#endif
#endif /* _INTTYPES_H_ */

View File

@ -176,6 +176,7 @@ typedef struct {
#define IP_BROADCAST_IF 0x1015 /* Set interface for broadcasts */
#define IP_RCVIFADDR 0x1016 /* Set interface for broadcasts */
/*
* Defaults and limits for options
*/

View File

@ -92,10 +92,10 @@ struct stat {
#define S_ISCHR(m) ((m & 0170000) == 0020000) /* char special */
#define S_ISBLK(m) ((m & 0170000) == 0060000) /* block special */
#define S_ISREG(m) ((m & 0170000) == 0100000) /* regular file */
#define S_ISFIFO(m) ((m & 0170000) == 0100000 || \
#define S_ISFIFO(m) ((m & 0170000) == 0010000 || \
(m & 0170000) == 0140000) /* fifo or socket */
#define S_ISLNK(m) ((m & 0170000) == 0120000) /* symbolic link */
#define S_ISSOCK(m) ((m & 0170000) == 0100000 || \
#define S_ISSOCK(m) ((m & 0170000) == 0010000 || \
(m & 0170000) == 0140000) /* fifo or socket */
#include <sys/cdefs.h>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.