mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r1241] fixed some errors in my conditional compile statements from yesterday.
changed ifdef WIN32 && _HDF5USEDLL_ to if defined(WIN32) && defined(_HDF5USEDLL_) and did something similar for the not cases.
This commit is contained in:
parent
cc2184b6ef
commit
7d0a135c73
@ -564,7 +564,7 @@ test_copy(int mode,
|
||||
}
|
||||
}
|
||||
puts(" PASSED");
|
||||
#ifdef WIN32 && _HDF5USEDLL_
|
||||
#if defined(WIN32) && defined(_HDF5USEDLL_)
|
||||
HDfree(src);
|
||||
HDfree(dst);
|
||||
#else
|
||||
@ -618,7 +618,7 @@ test_multifill(size_t nx)
|
||||
fflush(stdout);
|
||||
|
||||
/* Initialize the source and destination */
|
||||
#ifndef WIN32 && _HDF5USEDLL_
|
||||
#if !defined(WIN32) && !defined(_HDF5USEDLL_)
|
||||
src = H5MM_malloc(nx * sizeof(*src));
|
||||
dst = H5MM_malloc(nx * sizeof(*dst));
|
||||
#else
|
||||
@ -691,7 +691,7 @@ test_multifill(size_t nx)
|
||||
}
|
||||
|
||||
puts(" PASSED");
|
||||
#ifndef WIN32 && _HDF5USEDLL_
|
||||
#if !defined(WIN32) && !defined(_HDF5USEDLL_)
|
||||
H5MM_xfree(src);
|
||||
H5MM_xfree(dst);
|
||||
#else
|
||||
@ -780,7 +780,7 @@ test_endian(size_t nx)
|
||||
}
|
||||
|
||||
puts(" PASSED");
|
||||
#ifdef WIN32 && _HDF5USEDLL_
|
||||
#if defined(WIN32) && defined(_HDF5USEDLL_)
|
||||
HDfree(src);
|
||||
HDfree(dst);
|
||||
#else
|
||||
@ -887,7 +887,7 @@ test_transpose(size_t nx, size_t ny)
|
||||
}
|
||||
|
||||
puts(" PASSED");
|
||||
#ifndef WIN32 && _HDF5USEDLL_
|
||||
#if !defined(WIN32) && !defined(_HDF5USEDLL_)
|
||||
H5MM_xfree(src);
|
||||
H5MM_xfree(dst);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user