aboutsummaryrefslogtreecommitdiff
path: root/Carpet
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2007-01-15 17:53:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2007-01-15 17:53:00 +0000
commit5600f5f4b791a56204bfdb45308f57d47f747333 (patch)
tree99de1c63861d0665beae7709f7c1e168d5c070fe /Carpet
parentf97b00ef90328c17fb1f68675f560bfb964ff6d5 (diff)
CarpetLib: Support restrict qualifier
darcs-hash:20070115175330-dae7b-ae3dd3c47931ad57b3a5cca9429b3f223c9e834c.gz
Diffstat (limited to 'Carpet')
-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;