The R5 compatibility is now turned off when the socket functions are used

within the library - theoretically, this mechanism could be extended to
turn the compatibility layer on and off based on the images that call the
functions (allowing to mix R5 and BONE network add-ons in a single executable).
This change fixes R5 networking apps such as Vision, and NetworkTime (both
now seem to work fine under Haiku).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19431 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-12-05 03:03:15 +00:00
parent 40eb4ed30d
commit bcb0dd2b3b
3 changed files with 65 additions and 14 deletions
+2
View File
@@ -39,5 +39,7 @@ struct r5_sockaddr_in {
};
extern bool __gR5Compatibility;
extern addr_t __gNetworkStart;
extern addr_t __gNetworkEnd;
#endif // NET_R5_COMPATIBILITY_H