[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:
Raymond Lu 2013-01-09 14:23:18 -05:00
parent cf823b47ed
commit cde5029461

View File

@ -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"