From cf1e1132c6cd84ab68a065153247671e83bf298f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 15 May 2015 14:48:23 +0300 Subject: Fix compilation issue with old gcc. --- src/localconsts.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/localconsts.h') 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 #endif +#ifdef ADVGCC +#define const2 const +#else // ADVGCC +#define const2 +#endif // ADVGCC + #ifdef __GNUC__ #ifdef ENABLE_CILKPLUS #if GCC_VERSION < 40900 -- cgit v1.2.3-70-g09d2