diff options
author | Chris Robinson <[email protected]> | 2018-10-27 18:58:58 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-10-29 10:10:37 -0700 |
commit | fd1361c1982e28fe4be287cb41ae24c3fc926ae8 (patch) | |
tree | bc38cbff54709927bf4586a9b577e02c04b42a7b /config.h.in | |
parent | 5148a73a7bc8cc0cad1e157930c936c75e40da2e (diff) |
Add a RESTRICT macro to help with C++ compatibility
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 9cc6c16b..5b4bdfde 100644 --- a/config.h.in +++ b/config.h.in @@ -8,6 +8,9 @@ /* Define a built-in call indicating an aligned data pointer */ #define ASSUME_ALIGNED(x, y) ${ASSUME_ALIGNED_DECL} +/* Define a restrict macro for non-aliased pointers */ +#define RESTRICT ${RESTRICT_DECL} + /* Define if HRTF data is embedded in the library */ #cmakedefine ALSOFT_EMBED_HRTF_DATA |