Add a workaround for KDevelop not recognizing 'restrict'
This commit is contained in:
parent
ba52ac9bcd
commit
69e64e1ed2
@ -21,6 +21,13 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#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
|
||||||
|
|
||||||
|
|
||||||
#if defined(HAVE_STDINT_H)
|
#if defined(HAVE_STDINT_H)
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
typedef int64_t ALint64;
|
typedef int64_t ALint64;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user