mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r3059]
Purpose: Bugfix Description: Under SunOS 5.5 the symbol FIONBIO wasn't known. Solution: Include <sys/filio.h> which defines this symbol under Solaris. Also put the UNUSED qualifier in the right place in a function argument list (gcc 2.7.2 didn't like it before the type name). Platforms tested: SunOS 5.5 (hatteras), SunOS 5.6 t(thor.sistec.kp.dlr.de)
This commit is contained in:
parent
0473d1c822
commit
14e987f40c
@ -30,6 +30,7 @@
|
||||
#include <H5FDpublic.h> /* VFD structures */
|
||||
#include <H5MMprivate.h> /* memory allocation */
|
||||
#include <H5Ppublic.h> /* files */
|
||||
#include <H5Pprivate.h> /* VFD prototypes */
|
||||
#include <H5FDstream.h> /* Stream VFD header */
|
||||
|
||||
#ifdef H5FD_STREAM_HAVE_UNIX_SOCKETS
|
||||
@ -44,6 +45,9 @@
|
||||
#ifdef H5_HAVE_NETINET_TCP_H
|
||||
#include <netinet/tcp.h> /* socket stuff */
|
||||
#endif
|
||||
#ifdef H5_HAVE_SYS_FILIO_H
|
||||
#include <sys/filio.h> /* socket stuff */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef H5_HAVE_SOCKLEN_T
|
||||
@ -898,7 +902,7 @@ static herr_t H5FD_stream_close (H5FD_t *_stream)
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t H5FD_stream_query (const UNUSED H5FD_t *_f,
|
||||
static herr_t H5FD_stream_query (const H5FD_t UNUSED *_f,
|
||||
unsigned long *flags /* out */)
|
||||
{
|
||||
FUNC_ENTER (H5FD_stream_query, SUCCEED);
|
||||
|
Loading…
Reference in New Issue
Block a user