summaryrefslogtreecommitdiffstats
path: root/windows
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2007-06-26 16:23:59 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2007-06-26 16:23:59 (GMT)
commit21134e48e135c03ecad8dc35ea5dd803e0e9690b (patch)
treecae98f5ce6afcacfa151ed1c316d660aef7f3982 /windows
parent0490b178003d70eeac1ec28791dd2d5cf8064355 (diff)
downloadhdf5-21134e48e135c03ecad8dc35ea5dd803e0e9690b.zip
hdf5-21134e48e135c03ecad8dc35ea5dd803e0e9690b.tar.gz
hdf5-21134e48e135c03ecad8dc35ea5dd803e0e9690b.tar.bz2
[svn-r13916] Purpose: Fix MinGW inconsistency
Description: Windows does not accept the buffer size parameter of setvbuf to be less than 2. Previously, we had our fix split between two files, H5private.h and the Windows H5pubconf.h. This was a problem for MinGW, because it generates its own H5private.h. This moves the fix out of H5pubconf.h and into H5private.h. This shouldn't affect other platforms. Tested: MinGW on WinXP
Diffstat (limited to 'windows')
-rwxr-xr-xwindows/src/H5pubconf.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/windows/src/H5pubconf.h b/windows/src/H5pubconf.h
index 9c4ef9b..aaad8be 100755
--- a/windows/src/H5pubconf.h
+++ b/windows/src/H5pubconf.h
@@ -188,16 +188,6 @@ in the file file_io.win32.c and including it on the projects
/* Check exception handling functions during data conversions */
#define H5_WANT_DCONV_EXCEPTION 1
-#if _MSC_VER >=1400
-/* visual studio 2005 doesn't support size of setvbuf to be less thn 1,This is a hacking, we would like to wait
-visual studio 2005 to fix this problem.
-*/
-
-#define HDsetvbuf(F,S,M,Z) (((Z)>1)?setvbuf(F,S,M,Z):setvbuf(F,S,M,2))
-
-#else
-#define HDsetvbuf(F,S,M,Z) setvbuf(F,S,M,Z)
-#endif
/* uncomment the following line if we want parallel HDF5 support */