Add a workaround for KDevelop not recognizing 'restrict'

This commit is contained in:
Chris Robinson 2013-10-06 03:53:20 -07:00
parent ba52ac9bcd
commit 69e64e1ed2

View File

@ -21,6 +21,13 @@
#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)
#include <stdint.h>
typedef int64_t ALint64;