mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-23 16:20:57 +08:00
[svn-r931] added io.h in the stdc_header section
This commit is contained in:
parent
0bf637b3d2
commit
3afdf4ac7e
@ -10,7 +10,7 @@
|
||||
|
||||
/* See H5private.h for how to include headers */
|
||||
#undef NDEBUG
|
||||
#include <hdf5.h>
|
||||
#include <H5config.h>
|
||||
|
||||
#ifdef STDC_HEADERS
|
||||
# include <assert.h>
|
||||
@ -18,6 +18,7 @@
|
||||
# include <stdio.h>
|
||||
# include <stdlib.h>
|
||||
# include <string.h>
|
||||
# include <io.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
@ -25,6 +26,8 @@
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <hdf5.h>
|
||||
|
||||
#ifndef HAVE_ATTRIBUTE
|
||||
# undef __attribute__
|
||||
# define __attribute__(X) /*void*/
|
||||
@ -580,7 +583,7 @@ test_2 (void)
|
||||
puts (" Failed to read dataset");
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
for (i=0; i<100; i++) {
|
||||
if (whole[i]!=(signed)i) {
|
||||
puts ("*FAILED*");
|
||||
|
Loading…
Reference in New Issue
Block a user