diff options
Diffstat (limited to 'src/localconsts.h')
-rw-r--r-- | src/localconsts.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h index 7cddefdcd..1566292f5 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -85,6 +85,12 @@ #include <cilk/cilk.h> #endif +#ifdef ADVGCC +#define const2 const +#else // ADVGCC +#define const2 +#endif // ADVGCC + #ifdef __GNUC__ #ifdef ENABLE_CILKPLUS #if GCC_VERSION < 40900 |