mirror of https://github.com/mpv-player/mpv
avoid infinite recursion patch by Bernhard Rosenkraenzer <bero@arklinux.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13806 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6042541374
commit
1dea883a44
|
@ -2283,6 +2283,12 @@ if [ -n "$_def_restrict_keyword" ]; then
|
||||||
else
|
else
|
||||||
echores "none"
|
echores "none"
|
||||||
fi
|
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"
|
echocheck "kstat"
|
||||||
|
@ -6588,7 +6594,7 @@ $_def_runtime_cpudetection
|
||||||
$_def_dynamic_plugins
|
$_def_dynamic_plugins
|
||||||
|
|
||||||
/* "restrict" keyword */
|
/* "restrict" keyword */
|
||||||
#define restrict $_def_restrict_keyword
|
$_def_restrict_keyword
|
||||||
|
|
||||||
/* attribute(used) as needed by some compilers */
|
/* attribute(used) as needed by some compilers */
|
||||||
#if (__GNUC__ * 100 + __GNUC_MINOR__ >= 300)
|
#if (__GNUC__ * 100 + __GNUC_MINOR__ >= 300)
|
||||||
|
|
Loading…
Reference in New Issue