diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2006-06-13 17:08:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2006-06-13 17:08:00 +0000 |
commit | 7c76b00c585193418ae004f3dc9286bd2212b3dc (patch) | |
tree | 8e35fc52f3a317329bc666f9473365f40d2ac872 /Carpet/CarpetLib/src/dist.hh | |
parent | cdd8138a8065ad36eb4faefd4690c5e8e99977ec (diff) |
CarpetLib: Change #ifdef CCTK_* to #ifdef HAVE_CCTK_*
darcs-hash:20060613170802-dae7b-9f69116a70acbac95c7b7b4afa4282330b065602.gz
Diffstat (limited to 'Carpet/CarpetLib/src/dist.hh')
-rw-r--r-- | Carpet/CarpetLib/src/dist.hh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Carpet/CarpetLib/src/dist.hh b/Carpet/CarpetLib/src/dist.hh index d68c733ee..23c445430 100644 --- a/Carpet/CarpetLib/src/dist.hh +++ b/Carpet/CarpetLib/src/dist.hh @@ -131,17 +131,17 @@ namespace dist { #else -# ifdef CCTK_REAL4 +# ifdef HAVE_CCTK_COMPLEX8 inline unsigned int c_datatype (const CCTK_COMPLEX8&) { return 13; } # endif -# ifdef CCTK_REAL8 +# ifdef HAVE_CCTK_COMPLEX16 inline unsigned int c_datatype (const CCTK_COMPLEX16&) { return 14; } # endif -# ifdef CCTK_REAL16 +# ifdef HAVE_CCTK_COMPLEX32 inline unsigned int c_datatype (const CCTK_COMPLEX32&) { return 15; } # endif @@ -209,17 +209,17 @@ namespace dist { #else -# ifdef CCTK_REAL4 +# ifdef HAVE_CCTK_COMPLEX8 inline MPI_Datatype datatype (const CCTK_COMPLEX8&) { return mpi_complex8; } # endif -# ifdef CCTK_REAL8 +# ifdef HAVE_CCTK_COMPLEX16 inline MPI_Datatype datatype (const CCTK_COMPLEX16&) { return mpi_complex16; } # endif -# ifdef CCTK_REAL16 +# ifdef HAVE_CCTK_COMPLEX32 inline MPI_Datatype datatype (const CCTK_COMPLEX32&) { return mpi_complex32; } # endif |