diff options
author | Xuan Bai <xuanbai@hdfgroup.org> | 2005-01-20 20:55:05 (GMT) |
---|---|---|
committer | Xuan Bai <xuanbai@hdfgroup.org> | 2005-01-20 20:55:05 (GMT) |
commit | f7577add84805df952bc35b138718f7eeb296aaa (patch) | |
tree | 0588a33cf19eef22c321deb9e59fd2c6b7ef0fff /src/H5ST.c | |
parent | b12967a0847e14f425d34246a206f98c119402a6 (diff) | |
download | hdf5-f7577add84805df952bc35b138718f7eeb296aaa.zip hdf5-f7577add84805df952bc35b138718f7eeb296aaa.tar.gz hdf5-f7577add84805df952bc35b138718f7eeb296aaa.tar.bz2 |
[svn-r9848] Purpose:
Bug fix.
Description:
Function _flushall() is not available on Cygwin. So a Cgywin macro is added so the compiler will not call this function when building HDF5 on Cygwin.
Solution:
Change the following codes:
#ifdef H5_HAVE_SYSTEM
#ifdefined WIN32
_flushall();
#else
HDsystem ("sync");
HDsystem ("df >/dev/null");
#endif
to:
#ifdef H5_HAVE_SYSTEM
#if defined(WIN32) && ! defined(__CYGWIN__)
_flushall();
#else
HDsystem ("sync");
HDsystem ("df >/dev/null");
#endif
Platforms tested:
Cygwin 1.5.11, VC 6.0 on XP.
Linux 2.4 (heping)
Solaris 2.7 (arabica)
Misc. update:
Diffstat (limited to 'src/H5ST.c')
0 files changed, 0 insertions, 0 deletions