aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-06-07 16:11:50 -0700
committerChris Robinson <[email protected]>2016-06-07 16:11:50 -0700
commita49db89d7ac60e2f184bf5696024f5b0dde08328 (patch)
tree573d8cb0fa95359ba83819119a98b0da9cd9519d
parent0477d6159974837ee01bbc7c74a65a3be5794cdd (diff)
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.
-rw-r--r--config.h.in6
1 files changed, 0 insertions, 6 deletions
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}