1
mirror of https://github.com/mpv-player/mpv synced 2024-07-31 16:29:58 +02:00

Give _XOPEN_SOURCE #define an explicit 600 value. Fixes build on Open Solaris.

patch by Imran Syed, freakabcd gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28480 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2009-02-07 17:34:45 +00:00
parent 481d68007e
commit 95c44000d7
3 changed files with 3 additions and 3 deletions

2
configure vendored
View File

@ -3578,7 +3578,7 @@ echores "$_vsscanf"
echocheck "swab()"
cat > $TMPC << EOF
#define _XOPEN_SOURCE
#define _XOPEN_SOURCE 600
#include <unistd.h>
int main(void) { swab(0, 0, 0); return 0; }
EOF

View File

@ -5,7 +5,7 @@
(see http://www.dtek.chalmers.se/~dvd/)
*/
#define _XOPEN_SOURCE
#define _XOPEN_SOURCE 600
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -1,4 +1,4 @@
#define _XOPEN_SOURCE
#define _XOPEN_SOURCE 600
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>