From d8ea580a289fb38a07b281402dd36a5098990d4c Mon Sep 17 00:00:00 2001 From: seleznevae Date: Fri, 9 Mar 2018 11:17:12 +0300 Subject: [PATCH] [F] Fixed build --- include/fort.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/fort.h b/include/fort.h index 928cdf9..dceaabd 100644 --- a/include/fort.h +++ b/include/fort.h @@ -56,9 +56,15 @@ SOFTWARE. #define FORT_RESTRICT __restrict #endif /* if defined(FORT_CLANG_COMPILER) */ #else +#if __STDC_VERSION__ < 199901L #define FORT_RESTRICT restrict +#else +#define FORT_RESTRICT +#endif /* __STDC_VERSION__ < 199901L */ #endif /* if defined(__cplusplus) */ + + /* * Attribute format for argument checking */