Mercurial > mplayer.hg
comparison configure @ 28420:606c3c97229c
swab() needs _XOPEN_SOURCE to be defined.
Fixes two implicit declaration warnings.
author | reimar |
---|---|
date | Tue, 03 Feb 2009 10:39:56 +0000 |
parents | e705056e492e |
children | fe584a095dfd |
comparison
equal
deleted
inserted
replaced
28419:d4fbeeaa1c76 | 28420:606c3c97229c |
---|---|
3562 echores "$_vsscanf" | 3562 echores "$_vsscanf" |
3563 | 3563 |
3564 | 3564 |
3565 echocheck "swab()" | 3565 echocheck "swab()" |
3566 cat > $TMPC << EOF | 3566 cat > $TMPC << EOF |
3567 #define _XOPEN_SOURCE | |
3567 #include <unistd.h> | 3568 #include <unistd.h> |
3568 int main(void) { swab(0, 0, 0); return 0; } | 3569 int main(void) { swab(0, 0, 0); return 0; } |
3569 EOF | 3570 EOF |
3570 _swab=no | 3571 _swab=no |
3571 cc_check && _swab=yes | 3572 cc_check && _swab=yes |