diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2007-04-05 20:41:42 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2007-04-05 20:41:42 (GMT) |
commit | 66e7376e347c2f445813ece0548ee5b6d70aa476 (patch) | |
tree | ac9d01f04b4d60c16828e5a35144341404ed0892 /test/big.c | |
parent | ea3e17a5c6c706864aa9b73ac05ebb5bda00d8f1 (diff) | |
download | hdf5-66e7376e347c2f445813ece0548ee5b6d70aa476.zip hdf5-66e7376e347c2f445813ece0548ee5b6d70aa476.tar.gz hdf5-66e7376e347c2f445813ece0548ee5b6d70aa476.tar.bz2 |
[svn-r13597] Add the macro check of H5_HAVE_FSEEKO for STDIO test. Without it
there'll be no big file support. Updated document, too.
Tested on smirom because it's a simple change.
Diffstat (limited to 'test/big.c')
-rw-r--r-- | test/big.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -553,7 +553,10 @@ main (int ac, char **av) puts("Test passed with the Family Driver."); - /* Test big file with the STDIO driver */ +#ifdef H5_HAVE_FSEEKO + /* Test big file with the STDIO driver only if fseeko is supported, + * because the OFFSET parameter of fseek has the type LONG, not big + * enough to support big files. */ puts("\nTesting big file with the STDIO Driver "); fapl = h5_fileaccess(); @@ -565,6 +568,7 @@ main (int ac, char **av) if (writer(filename, fapl, WRT_N)) goto error; if (reader(filename, fapl)) goto error; puts("Test passed with the STDIO Driver."); +#endif quit: /* End with normal exit code */ |