diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-12-11 08:19:10 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-12-11 08:19:10 (GMT) |
commit | f53c939bd05b44d0cfc520f4de870d139ab1e61f (patch) | |
tree | 32d87e8436e40b3f1bc8dc49a1e364cbe3f5e4bb /src/H5win32defs.h | |
parent | 1b62a22e0ca679cadb666e6951a65fc74dec4b69 (diff) | |
download | hdf5-f53c939bd05b44d0cfc520f4de870d139ab1e61f.zip hdf5-f53c939bd05b44d0cfc520f4de870d139ab1e61f.tar.gz hdf5-f53c939bd05b44d0cfc520f4de870d139ab1e61f.tar.bz2 |
[svn-r28581] Brought flock changes over from revise_chunks as well as a few
minor tweaks from H5private.h.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
serial only, autotools and CMake (3.3.2)
Diffstat (limited to 'src/H5win32defs.h')
-rw-r--r-- | src/H5win32defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5win32defs.h b/src/H5win32defs.h index 73d8417..e84def9 100644 --- a/src/H5win32defs.h +++ b/src/H5win32defs.h @@ -74,6 +74,7 @@ struct timezone { extern "C" { #endif /* __cplusplus */ H5_DLL int Wgettimeofday(struct timeval *tv, struct timezone *tz); + H5_DLL int Wflock(int fd, int operation); H5_DLL char* Wgetlogin(void); H5_DLL int c99_snprintf(char* str, size_t size, const char* format, ...); H5_DLL int c99_vsnprintf(char* str, size_t size, const char* format, va_list ap); @@ -81,6 +82,7 @@ struct timezone { } #endif /* __cplusplus */ #define HDgettimeofday(V,Z) Wgettimeofday(V,Z) +#define HDflock(F,L) Wflock(F,L) #define HDgetlogin() Wgetlogin() #define HDsnprintf c99_snprintf /*varargs*/ #define HDvsnprintf c99_vsnprintf |