From e876b5011354047719c069dbf0384eba2a6551b2 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 29 Oct 2018 10:01:58 -0700 Subject: [PATCH] Remove unnecessary uses of IN_IDE_PARSER --- Alc/compat.h | 2 +- common/align.h | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Alc/compat.h b/Alc/compat.h index 495bfdf2..e0f6cbd9 100644 --- a/Alc/compat.h +++ b/Alc/compat.h @@ -23,7 +23,7 @@ FILE *al_fopen(const char *fname, const char *mode); #define al_fopen fopen -#if defined(HAVE_DLFCN_H) && !defined(IN_IDE_PARSER) +#if defined(HAVE_DLFCN_H) #define HAVE_DYNLOAD 1 #endif diff --git a/common/align.h b/common/align.h index e2dc81df..a5d8a20c 100644 --- a/common/align.h +++ b/common/align.h @@ -6,10 +6,7 @@ #endif #ifndef alignas -#if defined(IN_IDE_PARSER) -/* KDevelop has problems with our align macro, so just use nothing for parsing. */ -#define alignas(x) -#elif defined(HAVE_C11_ALIGNAS) +#if defined(HAVE_C11_ALIGNAS) #define alignas _Alignas #else /* NOTE: Our custom ALIGN macro can't take a type name like alignas can. For