diff options
author | Scott Wegner <swegner@hdfgroup.org> | 2008-06-09 18:41:29 (GMT) |
---|---|---|
committer | Scott Wegner <swegner@hdfgroup.org> | 2008-06-09 18:41:29 (GMT) |
commit | 7a92820e35582fc94f0dd46e5039547fddd3d98d (patch) | |
tree | 4edab170ada903be86940f82c306a2aa738afcb8 /fortran | |
parent | a97fa671eb16f7b12ed87c46c86501d0282aa364 (diff) | |
download | hdf5-7a92820e35582fc94f0dd46e5039547fddd3d98d.zip hdf5-7a92820e35582fc94f0dd46e5039547fddd3d98d.tar.gz hdf5-7a92820e35582fc94f0dd46e5039547fddd3d98d.tar.bz2 |
[svn-r15183] 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 'fortran')
-rw-r--r-- | fortran/src/H5Pf.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fortran/src/H5Pf.c b/fortran/src/H5Pf.c index c05e261..02da4f2 100644 --- a/fortran/src/H5Pf.c +++ b/fortran/src/H5Pf.c @@ -3202,12 +3202,8 @@ HD5packFstring(tmp, _fcdtocp(memb_name), (size_t)(c_lenmax*H5FD_MEM_NTYPES)); for (i=0; i < H5FD_MEM_NTYPES; i++) { memb_map[i] = (int_f)c_memb_map[i]; memb_fapl[i] = (hid_t_f)c_memb_fapl[i]; -#if defined(_WIN32) - memb_addr[i] = -1; -#else if(c_memb_addr[i] == HADDR_UNDEF) memb_addr[i] = -1; else memb_addr[i] = (real_f) ((long)c_memb_addr[i]/HADDR_MAX); -#endif /*_WIN32*/ } *flag = (int_f)relax; *maxlen_out = (int_f)length; |