mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
Merge pull request #924 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '2db84441d742433c0aee26624a7b3fd05c2dbbf2': ifdef around another function
This commit is contained in:
commit
08d007a307
@ -1882,6 +1882,14 @@ par_delete_dataset(int dset_num,
|
||||
} /* par_delete_dataset() */
|
||||
|
||||
|
||||
/* This test uses many POSIX things that are not available on
|
||||
* Windows. We're using a check for fork(2) here as a proxy for
|
||||
* all POSIX/Unix/Linux things until this test can be made
|
||||
* more platform-independent.
|
||||
*/
|
||||
#ifdef H5_HAVE_FORK
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* Function: par_insert_cache_image()
|
||||
*
|
||||
@ -1907,6 +1915,10 @@ par_delete_dataset(int dset_num,
|
||||
*
|
||||
* None.
|
||||
*
|
||||
*--------------------------------------
|
||||
return;
|
||||
|
||||
} /* par_insert_cache_image() */
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
@ -1990,6 +2002,15 @@ par_insert_cache_image(int file_name_idx, int mpi_rank, int mpi_size )
|
||||
return;
|
||||
|
||||
} /* par_insert_cache_image() */
|
||||
#else /* H5_HAVE_FORK */
|
||||
|
||||
static void
|
||||
par_insert_cache_image(int file_name_idx, int mpi_rank, int mpi_size )
|
||||
{
|
||||
return;
|
||||
} /* par_insert_cache_image() */
|
||||
|
||||
#endif /* H5_HAVE_FORK */
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user