sb->sb_read_ahead = 0;
#endif
}
+#ifdef FIONBIO
if (lber_pvt_sb_in_use(sb)) {
int status = (nb!=0);
if (ioctl( lber_pvt_sb_get_desc(sb), FIONBIO, (caddr_t)&status ) == -1 ) {
return -1;
}
}
+#endif /* FIONBIO */
return 0;
}
#endif
return tcpread( lber_pvt_sb_get_desc(sb), 0, (unsigned char *)buf,
len, NULL );
#elif (defined(DOS) && (defined(PCNFS) || defined( WINSOCK))) \
- || defined( _WIN32)
+ || defined( _WIN32) || defined ( __BEOS__ )
/*
* PCNFS (under DOS)
*/
(unsigned char *)(buf),
(len<MAX_WRITE)? len : MAX_WRITE );
#elif (defined(DOS) && (defined(PCNFS) || defined( WINSOCK))) \
- || defined( _WIN32)
+ || defined( _WIN32 ) || defined ( __BEOS__ )
/*
* PCNFS (under DOS)
*/