diff options
author | Chris Robinson <[email protected]> | 2011-05-02 17:06:32 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-05-02 17:06:32 -0700 |
commit | 24aaa24b5c39db0a204b7ed78d5bbc154563dd0a (patch) | |
tree | 32144e38d2087add9d82b264822d4417f0c8cfe7 /config.h.in | |
parent | fd795a7eebf3259c01e409495b61487a4e706b88 (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.in | 6 |
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 |