From a49db89d7ac60e2f184bf5696024f5b0dde08328 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 7 Jun 2016 16:11:50 -0700 Subject: Remove an IN_IDE_PARSER hack Not all IDE parsers necessarily choke on restrict, and even those that do can probably have their own configuration to define macros that can hide the parsing errors caused by it. --- config.h.in | 6 ------ 1 file changed, 6 deletions(-) (limited to 'config.h.in') diff --git a/config.h.in b/config.h.in index b59226ee..41fa3b61 100644 --- a/config.h.in +++ b/config.h.in @@ -5,12 +5,6 @@ /* Define to the library version */ #define ALSOFT_VERSION "${LIB_VERSION}" -#ifdef IN_IDE_PARSER -/* KDevelop's parser doesn't recognize the C99-standard restrict keyword, but - * recent versions (at least 4.5.1) do recognize GCC's __restrict. */ -#define restrict __restrict -#endif - /* Define any available alignment declaration */ #define ALIGN(x) ${ALIGN_DECL} -- cgit v1.2.3