mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r23146] The test on Windows shows it doesn't have zlib.h. I added a macro condition to verify it before include it.
Tested on koala.
This commit is contained in:
parent
cf823b47ed
commit
cde5029461
@ -18,9 +18,15 @@
|
||||
#include "h5hltest.h"
|
||||
#include "H5srcdir.h"
|
||||
#include "H5DOpublic.h"
|
||||
#include <zlib.h>
|
||||
#include <math.h>
|
||||
|
||||
#if defined(H5_HAVE_ZLIB_H) && !defined(H5_ZLIB_HEADER)
|
||||
# define H5_ZLIB_HEADER "zlib.h"
|
||||
#endif
|
||||
#if defined(H5_ZLIB_HEADER)
|
||||
# include H5_ZLIB_HEADER /* "zlib.h" */
|
||||
#endif
|
||||
|
||||
#define FILE_NAME "test_dectris.h5"
|
||||
|
||||
#define DATASETNAME1 "direct_write"
|
||||
|
Loading…
Reference in New Issue
Block a user