00001
00002
00003
00004
00005
00006
00007
00008 #if defined(__cplusplus) && defined(sun)
00009
00010 #ifdef bind
00011 #undef bind
00012 inline int
00013 bind(int s, struct sockaddr* a, socklen_t l) {
00014 return __xnet_bind(s, a, l);
00015 }
00016 #endif
00017
00018 #ifdef connect
00019 #undef connect
00020 inline int
00021 connect(int s, struct sockaddr* a, socklen_t l) {
00022 return __xnet_connect(s, a, l);
00023 }
00024 #endif
00025
00026 #endif // defined(__cplusplus) && defined(sun)
00027