diff options
author | Xuan Bai <xuanbai@hdfgroup.org> | 2004-08-18 22:04:26 (GMT) |
---|---|---|
committer | Xuan Bai <xuanbai@hdfgroup.org> | 2004-08-18 22:04:26 (GMT) |
commit | 74f96681ceca04d64a98526a2e91ef0493ee76b1 (patch) | |
tree | f9c6ba2aae28916083808520975833e472f8a57d /tools/h5jam/tellub.c | |
parent | ee21dce85ce38fe7f718322b59288aabd3906e76 (diff) | |
download | hdf5-74f96681ceca04d64a98526a2e91ef0493ee76b1.zip hdf5-74f96681ceca04d64a98526a2e91ef0493ee76b1.tar.gz hdf5-74f96681ceca04d64a98526a2e91ef0493ee76b1.tar.bz2 |
[svn-r9111] Purpose:
Update.
Description:
Make some minor change so that h5jam.c is compatible with Windows.
Solution:
1. unistd.h is not available in windows system. Add a macro for this header file as:
#ifdef H5_HAVE_UNISTD_H
#include <unistd.h>
#endif
2. Change open, read, write, lseek functions to HDopen, HDread, HDwrite, and HDlseek,
as these HD functions are more comtatible with Windows system.
3. add #include H5private.h
4. remove #include <stdlib.h>
Platforms tested:
Windows 2000
Windows XP
eirene
(Note: I talked with Bob and Kent about these changes before check-in)
Misc. update:
Diffstat (limited to 'tools/h5jam/tellub.c')
0 files changed, 0 insertions, 0 deletions