diff options
author | hinder <hinder@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2012-05-14 20:24:04 +0000 |
---|---|---|
committer | hinder <hinder@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2012-05-14 20:24:04 +0000 |
commit | 3fad32303fe0161cea296d14be33ce6277b3e001 (patch) | |
tree | 25704421e4b4854af76ecc474f441464ec69b07a /src | |
parent | 49f886484c8a13f519e326f45c4a09b71f974522 (diff) |
Use optional HDF5 capability
The previous method no longer works
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1565 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src')
-rw-r--r-- | src/patch/patch_system.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/patch/patch_system.cc b/src/patch/patch_system.cc index 8059453..3e6296b 100644 --- a/src/patch/patch_system.cc +++ b/src/patch/patch_system.cc @@ -80,7 +80,7 @@ #include "../jtutil/linear_map.hh" using jtutil::error_exit; -#ifdef CCTK_HDF5 +#ifdef HAVE_CAPABILITY_HDF5 // Some macros to fix compatibility issues as long as 1.8.0 is in beta // phase # define H5_USE_16_API 1 @@ -2539,7 +2539,7 @@ fclose(input_fp); //****************************************************************************** -#ifdef CCTK_HDF5 +#ifdef HAVE_CAPABILITY_HDF5 static void WriteAttribute (const hid_t dataset, const char* name, char value); static void WriteAttribute (const hid_t dataset, const char* name, const char* values); @@ -2616,7 +2616,7 @@ if (want_ghost_zones && output_xyz_flag && !radius_is_ghosted_flag) unknown_gfn, unknown_radius_gfn); /*NOTREACHED*/ -#ifdef CCTK_HDF5 +#ifdef HAVE_CAPABILITY_HDF5 using std::ostringstream; using std::string; |