diff options
Diffstat (limited to 'src/Reduction.c')
-rw-r--r-- | src/Reduction.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Reduction.c b/src/Reduction.c index 02564d1..0225ede 100644 --- a/src/Reduction.c +++ b/src/Reduction.c @@ -570,7 +570,7 @@ static int copy_real_to_outtype (int num_elems, _outarray[i] = (CCTK_INT) inarray[i]; } } -#ifdef CCTK_INT1 +#ifdef HAVE_CCTK_INT1 else if (outtype == CCTK_VARIABLE_INT1) { CCTK_INT1 *_outarray = (CCTK_INT1 *) outarray; @@ -582,7 +582,7 @@ static int copy_real_to_outtype (int num_elems, } } #endif -#ifdef CCTK_INT2 +#ifdef HAVE_CCTK_INT2 else if (outtype == CCTK_VARIABLE_INT2) { CCTK_INT2 *_outarray = (CCTK_INT2 *) outarray; @@ -594,7 +594,7 @@ static int copy_real_to_outtype (int num_elems, } } #endif -#ifdef CCTK_INT4 +#ifdef HAVE_CCTK_INT4 else if (outtype == CCTK_VARIABLE_INT4) { CCTK_INT4 *_outarray = (CCTK_INT4 *) outarray; @@ -606,7 +606,7 @@ static int copy_real_to_outtype (int num_elems, } } #endif -#ifdef CCTK_INT8 +#ifdef HAVE_CCTK_INT8 else if (outtype == CCTK_VARIABLE_INT8) { CCTK_INT8 *_outarray = (CCTK_INT8 *) outarray; @@ -628,7 +628,7 @@ static int copy_real_to_outtype (int num_elems, _outarray[i] = (CCTK_REAL) inarray[i]; } } -#ifdef CCTK_REAL4 +#ifdef HAVE_CCTK_REAL4 else if (outtype == CCTK_VARIABLE_REAL4) { CCTK_REAL4 *_outarray = (CCTK_REAL4 *) outarray; @@ -640,7 +640,7 @@ static int copy_real_to_outtype (int num_elems, } } #endif -#ifdef CCTK_REAL8 +#ifdef HAVE_CCTK_REAL8 else if (outtype == CCTK_VARIABLE_REAL8) { CCTK_REAL8 *_outarray = (CCTK_REAL8 *) outarray; @@ -652,7 +652,7 @@ static int copy_real_to_outtype (int num_elems, } } #endif -#ifdef CCTK_REAL16 +#ifdef HAVE_CCTK_REAL16 else if (outtype == CCTK_VARIABLE_REAL16) { CCTK_REAL16 *_outarray = (CCTK_REAL16 *) outarray; |