diff options
author | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-05-07 16:02:30 +0000 |
---|---|---|
committer | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-05-07 16:02:30 +0000 |
commit | 315f0d4ff5941c5d937f3dba95ce22758da57f5d (patch) | |
tree | 7cdbf8e4e60735df27c7583c0519a7af141263af /lib | |
parent | 026a19d48f2024e7f81515925e0aedc1cd60a400 (diff) |
Enable "restrict" as keyword in C++
You can now use "restrict" instead of CCTK_RESTRICT in C++.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4812 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rw-r--r-- | lib/make/cctk_Config.h.in | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/make/cctk_Config.h.in b/lib/make/cctk_Config.h.in index df0d053d..c71f54e4 100644 --- a/lib/make/cctk_Config.h.in +++ b/lib/make/cctk_Config.h.in @@ -381,14 +381,10 @@ typedef enum {false, true} bool; /* Some C++ compilers recognise the restrict keyword */ #undef HAVE_CCTK_CXX_RESTRICT #undef CCTK_CXX_RESTRICT - -/* Since this is non-standard leave commented out for the moment */ -#if 0 /* Define to empty if the keyword does not work. */ #ifdef CCTK_CXX_RESTRICT # define restrict CCTK_CXX_RESTRICT #endif -#endif /* Allow the use of CCTK_RESTRICT as a qualifier always. */ #ifdef CCTK_CXX_RESTRICT |