From 1d8e03612ba5dd6c280068d564c3ab704268221b Mon Sep 17 00:00:00 2001 From: seleznevae Date: Fri, 9 Mar 2018 11:20:01 +0300 Subject: [PATCH] [F] Fixed build --- include/fort.h | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/include/fort.h b/include/fort.h index dceaabd..ee98ad2 100644 --- a/include/fort.h +++ b/include/fort.h @@ -49,20 +49,21 @@ SOFTWARE. /* * Declare restrict */ -#if defined(__cplusplus) -#if defined(FORT_CLANG_COMPILER) -#define FORT_RESTRICT __restrict__ -#else -#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) */ +//#if defined(__cplusplus) +//#if defined(FORT_CLANG_COMPILER) +//#define FORT_RESTRICT __restrict__ +//#else +//#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) */ +#define FORT_RESTRICT /*