diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2020-08-18 13:02:55 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2020-08-18 13:02:55 (GMT) |
commit | ba80bcaff24113f438da0f40cb5b5479d4a21cc6 (patch) | |
tree | 7e0ce766318f041cd98717b2ba3f544c84a48186 /src/H5FDprivate.h | |
parent | 522ef0dd5ca1daa2b26c3fe4459ddbb1eaf6ec20 (diff) | |
parent | a20bf599b682bfa0a91d571a922973e0c53b524a (diff) | |
download | hdf5-ba80bcaff24113f438da0f40cb5b5479d4a21cc6.zip hdf5-ba80bcaff24113f438da0f40cb5b5479d4a21cc6.tar.gz hdf5-ba80bcaff24113f438da0f40cb5b5479d4a21cc6.tar.bz2 |
Merge pull request #2477 in HDFFV/hdf5 from pio_update to develop
* commit 'a20bf599b682bfa0a91d571a922973e0c53b524a':
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 7d5b66d..7ac63b7 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 */ |