summaryrefslogtreecommitdiffstats
path: root/test/ragged.c
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1998-10-23 18:16:48 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1998-10-23 18:16:48 (GMT)
commit3a7c54b06f37b0648e1d8f337d11a1f13b67d60c (patch)
tree7d5dc6b2904a184459367a71a2f45817309ff38f /test/ragged.c
parent9bba487ca4dc89140684da78cd541aba4403df53 (diff)
downloadhdf5-3a7c54b06f37b0648e1d8f337d11a1f13b67d60c.zip
hdf5-3a7c54b06f37b0648e1d8f337d11a1f13b67d60c.tar.gz
hdf5-3a7c54b06f37b0648e1d8f337d11a1f13b67d60c.tar.bz2
[svn-r781] Windows NT port-tested on Unix and NT
changes: defined __unused__ as nothing, other little changes. all changes are surrounded by #if defined(WIN32)
Diffstat (limited to 'test/ragged.c')
-rw-r--r--test/ragged.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/test/ragged.c b/test/ragged.c
index f89412d..f55d0f9 100644
--- a/test/ragged.c
+++ b/test/ragged.c
@@ -196,7 +196,11 @@ ragged_write_all(hid_t ra, hsize_t rows_at_once)
hssize_t row; /*current row number */
hsize_t i; /*counter */
hsize_t max_width = quant_g[NELMTS(quant_g)-1].hi;
+#if !defined(WIN32)
hsize_t interval_nelmts; /*elmts/interval timer */
+#else
+ hssize_t interval_nelmts; /*elmts/interval timer */
+#endif
hsize_t *size=NULL; /*size of each row */
void **buf=NULL; /*buffer for each row */
H5_timer_t timer, timer_total; /*performance timers */
@@ -298,7 +302,11 @@ ragged_read_all(hid_t ra, hsize_t rows_at_once)
int total_nelmts=0;
hsize_t i, j; /*counters */
hssize_t row; /*current row number */
+#if !defined(WIN32)
hsize_t interval_nelmts; /*elmts/interval timer */
+#else
+ hssize_t interval_nelmts; /*elmts/interval timer */
+#endif
hsize_t *size=NULL; /*size of each row */
C_MTYPE **buf=NULL; /*buffer for each row */
H5_timer_t timer, timer_total; /*performance timers */
@@ -429,8 +437,14 @@ ragged_read_short(hid_t ra, hsize_t rows_at_once, hsize_t width)
int total_nelmts=0;
hsize_t i, j;
hssize_t row; /*current row number */
+#if !defined(WIN32)
hsize_t interval_nelmts; /*elmts/interval timer */
- hsize_t read_nelmts=0; /*total elements read */
+ hsize_t read_nelmts=0; /*total elements read */
+#else
+ hssize_t read_nelmts=0; /*total elements read */
+ hssize_t interval_nelmts; /*elmts/interval timer */
+#endif
+
hsize_t *size=NULL; /*size of each row */
C_MTYPE **buf=NULL; /*buffer for each row */
H5_timer_t timer, timer_total; /*performance timers */