diff options
author | Chris Robinson <[email protected]> | 2012-10-09 01:46:02 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-10-09 01:46:02 -0700 |
commit | 8c3419ed48b0221816314f605b0a7c6e045d95dc (patch) | |
tree | 0f870aa1bd86669d330ad0f0bdbc2461299a2b78 /config.h.in | |
parent | a98361ebbe62bf3d222b01aa018fe7ada6ef4332 (diff) |
Define RESTRICT in config.h instead of alMain.h
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/config.h.in b/config.h.in index 75d7a790..30b3e5e5 100644 --- a/config.h.in +++ b/config.h.in @@ -5,11 +5,15 @@ /* Define to the library version */ #define ALSOFT_VERSION "${LIB_VERSION}" +/* Define any available alignment declaration */ #define ALIGN(x) ${ALIGN_DECL} #ifdef __MINGW32__ #define align(x) aligned(x) #endif +/* Define to the appropriate 'restrict' keyword */ +#define RESTRICT ${RESTRICT_DECL} + /* Define if we have the C11 aligned_alloc function */ #cmakedefine HAVE_ALIGNED_ALLOC @@ -165,9 +169,3 @@ /* 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 |