[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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user