diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-12-13 15:51:25 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-12-13 15:51:25 +0000 |
commit | 46e626378a09ed6ee5bc332ffb2c3b7993e51fc3 (patch) | |
tree | c16eb2f20d2fd8a1875bdfe8a7be6c8a138cd16f /lib/make/cctk_Config.h.in | |
parent | e27e0e6afb9ed8df2bb74a0c63c98dcef3559c1c (diff) |
Fix from Erik Schnetter so that CCTK_RESTRICT works when 'restrict'
is actually 'restrict'.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4211 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/cctk_Config.h.in')
-rw-r--r-- | lib/make/cctk_Config.h.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/make/cctk_Config.h.in b/lib/make/cctk_Config.h.in index fc9cc4a5..2012fcca 100644 --- a/lib/make/cctk_Config.h.in +++ b/lib/make/cctk_Config.h.in @@ -155,7 +155,7 @@ #ifdef CCTK_C_RESTRICT #define CCTK_RESTRICT CCTK_C_RESTRICT #else -#define CCTK_RESTRICT +#define CCTK_RESTRICT restrict #endif /* Some C compilers (e.g. c99 ones) define bool */ @@ -206,7 +206,7 @@ typedef enum {false, true} bool; #ifdef CCTK_CXX_RESTRICT #define CCTK_RESTRICT CCTK_CXX_RESTRICT #else -#define CCTK_RESTRICT +#define CCTK_RESTRICT restrict #endif #endif /* __cplusplus */ |