mirror of
https://github.com/mpv-player/mpv
synced 2025-01-24 19:37:30 +01: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:
parent
481d68007e
commit
95c44000d7
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
@ -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>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#define _XOPEN_SOURCE
|
||||
#define _XOPEN_SOURCE 600
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
Loading…
Reference in New Issue
Block a user