diff options
author | Chris Robinson <[email protected]> | 2018-10-29 10:01:58 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-10-29 10:10:37 -0700 |
commit | e876b5011354047719c069dbf0384eba2a6551b2 (patch) | |
tree | ee84b48e9d0df374c2933c26aa88424fa857d19e | |
parent | 7d5a288e832b34e0117e1b1d7753847cf17f7e01 (diff) |
Remove unnecessary uses of IN_IDE_PARSER
-rw-r--r-- | Alc/compat.h | 2 | ||||
-rw-r--r-- | 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 |