* Added a small intro to what this file is about.
* Added a socklen_t typedef. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21690 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,6 +1,14 @@
|
|||||||
#ifndef HAIKU_BUILD_COMPATIBILITY_H
|
#ifndef HAIKU_BUILD_COMPATIBILITY_H
|
||||||
#define HAIKU_BUILD_COMPATIBILITY_H
|
#define HAIKU_BUILD_COMPATIBILITY_H
|
||||||
|
|
||||||
|
/*!
|
||||||
|
This header is automatically included in all Haiku applications
|
||||||
|
that are built for BeOS.
|
||||||
|
It will make BeOS a bit more Haiku compatible, and slightly more
|
||||||
|
POSIX compatible, too. It is supposed to keep the BeOS compatibility
|
||||||
|
kludges in our source files at a minimum.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <SupportDefs.h>
|
#include <SupportDefs.h>
|
||||||
|
|
||||||
@@ -16,6 +24,8 @@
|
|||||||
typedef unsigned long haiku_build_addr_t;
|
typedef unsigned long haiku_build_addr_t;
|
||||||
#define addr_t haiku_build_addr_t
|
#define addr_t haiku_build_addr_t
|
||||||
|
|
||||||
|
typedef int socklen_t;
|
||||||
|
|
||||||
#ifndef DEFFILEMODE
|
#ifndef DEFFILEMODE
|
||||||
# define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
|
# define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user