diff options
author | Scott Wegner <swegner@hdfgroup.org> | 2008-06-09 17:31:22 (GMT) |
---|---|---|
committer | Scott Wegner <swegner@hdfgroup.org> | 2008-06-09 17:31:22 (GMT) |
commit | 6df2bbd6e93c8731ac5c7a39f32090487b9061f5 (patch) | |
tree | fdaced2c64e3c5f2428f6ef02022f48f37989905 /tools/h5ls | |
parent | 0304c9a5fa3aca4331505e36c939f0347acf0132 (diff) | |
download | hdf5-6df2bbd6e93c8731ac5c7a39f32090487b9061f5.zip hdf5-6df2bbd6e93c8731ac5c7a39f32090487b9061f5.tar.gz hdf5-6df2bbd6e93c8731ac5c7a39f32090487b9061f5.tar.bz2 |
[svn-r15181] Purpose: _WIN32 macro cleanup
Description:
As part of our Windows cleanup, we try to remove windows-specific tweaks in the source code. There are many instances where Windows code is introduces via ifdef's. We re-evaluate whether they are still required, and found that many of them are not. Others we change to "feature"-specific code, rather than Windows-specific.
Tested:
VS2005 on WinXP
VS.NET on WinXP
h5committest (kagisopp, smirom, linew)
Diffstat (limited to 'tools/h5ls')
-rw-r--r-- | tools/h5ls/h5ls.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c index 6f07050..6545368 100644 --- a/tools/h5ls/h5ls.c +++ b/tools/h5ls/h5ls.c @@ -1526,11 +1526,7 @@ dataset_list2(hid_t dset, const char UNUSED *name) (unsigned long)total, 1==total?"":"s", (unsigned long)used, 1==used?"":"s"); if (used>0) { -#ifdef _WIN32 - utilization = (hssize_t)total * 100.0 / (hssize_t)used; -#else utilization = (total*100.0)/used; -#endif printf(", %1.2f%% utilization", utilization); } putchar('\n'); |