diff options
author | Quincey Koziol <koziol@koziol.gov> | 2020-03-29 02:53:43 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@koziol.gov> | 2020-03-29 02:53:43 (GMT) |
commit | 9e5a68214a5e40bb8e43c5ec2a928dc70e8a6017 (patch) | |
tree | e369e399e7f5b5715a19093c125042200be0e183 /src/H5FDprivate.h | |
parent | e9e3e2f1d67ccf71cc5af711065d1f85761ab5b7 (diff) | |
download | hdf5-9e5a68214a5e40bb8e43c5ec2a928dc70e8a6017.zip hdf5-9e5a68214a5e40bb8e43c5ec2a928dc70e8a6017.tar.gz hdf5-9e5a68214a5e40bb8e43c5ec2a928dc70e8a6017.tar.bz2 |
Don't track file offset position when using pread / pwrite.
Diffstat (limited to 'src/H5FDprivate.h')
-rw-r--r-- | src/H5FDprivate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5FDprivate.h b/src/H5FDprivate.h index 2e3d3ce..0f014bf 100644 --- a/src/H5FDprivate.h +++ b/src/H5FDprivate.h @@ -59,12 +59,14 @@ typedef struct H5FD_class_mpi_t { /* Library Private Typedefs */ /****************************/ +#ifndef H5_HAVE_PREADWRITE /* File operations */ typedef enum { OP_UNKNOWN = 0, /* Unknown last file operation */ OP_READ = 1, /* Last file I/O operation was a read */ OP_WRITE = 2 /* Last file I/O operation was a write */ } H5FD_file_op_t; +#endif /* H5_HAVE_PREADWRITE */ /* Define structure to hold initial file image and other relevant information */ |