mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 14:50:07 +00:00
configure: fix swab() check for Windows
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33339 b3059339-0415-0410-9bf9-f77b7e298cf2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33349 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
49b31c2b43
commit
74a85b8600
3
configure
vendored
3
configure
vendored
@ -3437,7 +3437,8 @@ echores "$_vsscanf"
|
|||||||
|
|
||||||
echocheck "swab()"
|
echocheck "swab()"
|
||||||
_swab=no
|
_swab=no
|
||||||
define_statement_check "_XOPEN_SOURCE 600" "unistd.h" 'int a, b; swab(&a, &b, 0)' && _swab=yes
|
define_statement_check "_XOPEN_SOURCE 600" "unistd.h" 'int a, b; swab(&a, &b, 0)' ||
|
||||||
|
statement_check "string.h" 'int a, b; swab(&a, &b, 0)' && _swab=yes
|
||||||
if test "$_swab" = yes ; then
|
if test "$_swab" = yes ; then
|
||||||
def_swab='#define HAVE_SWAB 1'
|
def_swab='#define HAVE_SWAB 1'
|
||||||
need_swab=no
|
need_swab=no
|
||||||
|
Loading…
Reference in New Issue
Block a user