diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2009-10-20 05:07:04 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2009-10-20 05:07:04 (GMT) |
commit | 4feddbbbcc655ba2ff2e07b10647bd12f06d2d84 (patch) | |
tree | 884746454c1bb4c98e178abb7cdd2d0baac983be /examples/testh5cc.sh.in | |
parent | a8aa10bd21daf06502e8e1eb6c594e643b41bb27 (diff) | |
download | hdf5-4feddbbbcc655ba2ff2e07b10647bd12f06d2d84.zip hdf5-4feddbbbcc655ba2ff2e07b10647bd12f06d2d84.tar.gz hdf5-4feddbbbcc655ba2ff2e07b10647bd12f06d2d84.tar.bz2 |
[svn-r17685] Bug fix:
#define H5_USE_16_API
was inserted AFTER #include <hdf5.>, too late was it to take
effect. Instead, it caused a macro redefinition, flagged as an error
by AIX.
Fixed by moving it before the <hdf5.h>.
Tested: Jam.
Diffstat (limited to 'examples/testh5cc.sh.in')
-rwxr-xr-x | examples/testh5cc.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/testh5cc.sh.in b/examples/testh5cc.sh.in index 07c84ef..48a745c 100755 --- a/examples/testh5cc.sh.in +++ b/examples/testh5cc.sh.in @@ -117,8 +117,8 @@ EOF # Generate HDF5 Main Program: # An HDF5 sample program that calls hdf5 functions. cat > $hdf5main <<EOF -#include "hdf5.h" #define H5_USE_16_API +#include "hdf5.h" #define H5FILE_NAME "tmp.h5" int main (void) |