Mercurial > mplayer.hg
changeset 13805:ed0b4de9b1b3
avoid infinite recursion patch by Bernhard Rosenkraenzer <bero@arklinux.org>
author | faust3 |
---|---|
date | Sat, 30 Oct 2004 09:31:33 +0000 |
parents | 5c0fda3b83c3 |
children | 0cdf4607d7ff |
files | configure |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sat Oct 30 08:47:04 2004 +0000 +++ b/configure Sat Oct 30 09:31:33 2004 +0000 @@ -2283,6 +2283,12 @@ 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_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)