aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Carpet/CarpetLib/src/defs.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/defs.hh b/Carpet/CarpetLib/src/defs.hh
index 3ad0becec..7ca919866 100644
--- a/Carpet/CarpetLib/src/defs.hh
+++ b/Carpet/CarpetLib/src/defs.hh
@@ -29,6 +29,13 @@ using namespace std;
+// Define the restrict qualifier
+#ifdef CCTK_CXX_RESTRICT
+# define restrict CCTK_CXX_RESTRICT
+#endif
+
+
+
// Number of dimensions
const int dim = 3;