Mercurial > mplayer.hg
changeset 33281:0abc79c9142d
configure: Drop recently-added check for swab() in string.h again.
This change was initially done to accomodate non-POSIX MinGW64, which placed
swab() in string.h. The MinGW64 system headers have been updated to declare
swab() in unistd.h, where we expect it, so two checks are now unnecessary.
author | diego |
---|---|
date | Thu, 05 May 2011 07:40:56 +0000 |
parents | d25054d6d2c2 |
children | 3ce656827dd7 |
files | configure |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Thu May 05 05:29:58 2011 +0000 +++ b/configure Thu May 05 07:40:56 2011 +0000 @@ -3884,8 +3884,7 @@ echocheck "swab()" _swab=no -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 +define_statement_check "_XOPEN_SOURCE 600" "unistd.h" 'int a, b; swab(&a, &b, 0)' && _swab=yes if test "$_swab" = yes ; then def_swab='#define HAVE_SWAB 1' need_swab=no