diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -2283,6 +2283,12 @@ if [ -n "$_def_restrict_keyword" ]; then else echores "none" fi +# Avoid infinite recursion loop ("#define restrict restrict") +if [ "$_def_restrict_keyword" != "restrict" ]; then + _def_restrict_keyword="#define restrict $_def_restrict_keyword" +else + _def_restrict_keyword="" +fi echocheck "kstat" @@ -6588,7 +6594,7 @@ $_def_runtime_cpudetection $_def_dynamic_plugins /* "restrict" keyword */ -#define restrict $_def_restrict_keyword +$_def_restrict_keyword /* attribute(used) as needed by some compilers */ #if (__GNUC__ * 100 + __GNUC_MINOR__ >= 300) |