Remove unnecessary uses of IN_IDE_PARSER

This commit is contained in:
Chris Robinson 2018-10-29 10:01:58 -07:00
parent 7d5a288e83
commit e876b50113
2 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -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