aboutsummaryrefslogtreecommitdiff
path: root/src/ReductionMax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ReductionMax.c')
-rw-r--r--src/ReductionMax.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ReductionMax.c b/src/ReductionMax.c
index fc6c8d1..4d39af4 100644
--- a/src/ReductionMax.c
+++ b/src/ReductionMax.c
@@ -248,7 +248,7 @@ static int ReductionMaxVal (const cGH *GH,
CCTK_INT, outvals, num_outvals, total_outvals);
break;
-#ifdef CCTK_INT1
+#ifdef HAVE_CCTK_INT1
case CCTK_VARIABLE_INT1:
ITERATE_ARRAY (CCTK_INT1, num_dims, inarrays[i],
from, to, iterator, points_per_dim,
@@ -256,7 +256,7 @@ static int ReductionMaxVal (const cGH *GH,
break;
#endif
-#ifdef CCTK_INT2
+#ifdef HAVE_CCTK_INT2
case CCTK_VARIABLE_INT2:
ITERATE_ARRAY (CCTK_INT2, num_dims, inarrays[i],
from, to, iterator, points_per_dim,
@@ -264,7 +264,7 @@ static int ReductionMaxVal (const cGH *GH,
break;
#endif
-#ifdef CCTK_INT4
+#ifdef HAVE_CCTK_INT4
case CCTK_VARIABLE_INT4:
ITERATE_ARRAY (CCTK_INT4, num_dims, inarrays[i],
from, to, iterator, points_per_dim,
@@ -272,7 +272,7 @@ static int ReductionMaxVal (const cGH *GH,
break;
#endif
-#ifdef CCTK_INT8
+#ifdef HAVE_CCTK_INT8
case CCTK_VARIABLE_INT8:
ITERATE_ARRAY (CCTK_INT8, num_dims, inarrays[i],
from, to, iterator, points_per_dim,
@@ -286,7 +286,7 @@ static int ReductionMaxVal (const cGH *GH,
CCTK_REAL, outvals, num_outvals, total_outvals);
break;
-#ifdef CCTK_REAL4
+#ifdef HAVE_CCTK_REAL4
case CCTK_VARIABLE_REAL4:
ITERATE_ARRAY (CCTK_REAL4, num_dims, inarrays[i],
from, to, iterator, points_per_dim,
@@ -294,7 +294,7 @@ static int ReductionMaxVal (const cGH *GH,
break;
#endif
-#ifdef CCTK_REAL8
+#ifdef HAVE_CCTK_REAL8
case CCTK_VARIABLE_REAL8:
ITERATE_ARRAY (CCTK_REAL8, num_dims, inarrays[i],
from, to, iterator, points_per_dim,
@@ -302,7 +302,7 @@ static int ReductionMaxVal (const cGH *GH,
break;
#endif
-#ifdef CCTK_REAL16
+#ifdef HAVE_CCTK_REAL16
case CCTK_VARIABLE_REAL16:
ITERATE_ARRAY (CCTK_REAL16, num_dims, inarrays[i],
from, to, iterator, points_per_dim,