Merge pull request #6019 from orbea/c89

C89_BUILD=1 build fix
This commit is contained in:
Andrés 2017-12-31 17:47:12 -05:00 committed by GitHub
commit 3145708106
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,11 +199,9 @@ if [ "$HAVE_NETWORKING" = 'yes' ]; then
if [ "$HAVE_MINIUPNPC" = 'no' ]; then
HAVE_BUILTINMINIUPNPC=no
elif [ "$HAVE_BUILTINMINIUPNPC" = 'yes' ]; then
HAVE_MINIUPNPC=yes
else
check_lib '' MINIUPNPC '-lminiupnpc'
fi
check_lib '' MINIUPNPC '-lminiupnpc'
else
die : 'Warning: All networking features have been disabled.'
HAVE_KEYMAPPER='no'