* Added B_NOT_SUPPORTED, B_KERNEL_READ_AREA, and B_KERNEL_WRITE_AREA to
HaikuBuildCompatibility.h; this fixes building agp_gart and the intel extreme driver for BeOS. * Added sockaddr_storage to HaikuBuildCompatibility.h. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23823 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -24,6 +24,14 @@
|
||||
typedef unsigned long haiku_build_addr_t;
|
||||
#define addr_t haiku_build_addr_t
|
||||
|
||||
struct sockaddr_storage {
|
||||
uint8 ss_len; /* total length */
|
||||
uint8 ss_family; /* address family */
|
||||
uint8 __ss_pad1[6]; /* align to quad */
|
||||
uint64 __ss_pad2; /* force alignment to 64 bit */
|
||||
uint8 __ss_pad3[112]; /* pad to a total of 128 bytes */
|
||||
};
|
||||
|
||||
typedef int socklen_t;
|
||||
|
||||
#ifndef DEFFILEMODE
|
||||
@@ -131,6 +139,8 @@ extern float roundf(float value);
|
||||
# define B_VECTOR_ICON_TYPE 'VICN'
|
||||
# endif
|
||||
# define B_NOT_SUPPORTED (B_ERROR)
|
||||
# define B_KERNEL_READ_AREA 0
|
||||
# define B_KERNEL_WRITE_AREA 0
|
||||
#endif
|
||||
|
||||
#if defined(HAIKU_TARGET_PLATFORM_BONE) || defined(HAIKU_TARGET_PLATFORM_DANO)
|
||||
|
||||
Reference in New Issue
Block a user