aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-05-02 17:06:32 -0700
committerChris Robinson <[email protected]>2011-05-02 17:06:32 -0700
commit24aaa24b5c39db0a204b7ed78d5bbc154563dd0a (patch)
tree32144e38d2087add9d82b264822d4417f0c8cfe7 /config.h.in
parentfd795a7eebf3259c01e409495b61487a4e706b88 (diff)
Check for the C99 restrict keyword
GCC does not default to C99 mode yet, so does not know restrict, however it still allows using __restrict in its place
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index c031ce45..f14ecb52 100644
--- a/config.h.in
+++ b/config.h.in
@@ -97,4 +97,10 @@
/* Define if we have pthread_setschedparam() */
#cmakedefine HAVE_PTHREAD_SETSCHEDPARAM
+/* Define if we have the restrict keyword */
+#cmakedefine HAVE_RESTRICT
+
+/* Define if we have the __restrict keyword */
+#cmakedefine HAVE___RESTRICT
+
#endif