mirror of
https://github.com/mpv-player/mpv
synced 2025-03-21 18:57:35 +00:00
Pass proper parameters to dlopen/dlsym/vsscanf to avoid configure test warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30220 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
09b8d9402f
commit
ff44ac1a3c
4
configure
vendored
4
configure
vendored
@ -3377,7 +3377,7 @@ echocheck "dynamic loader"
|
||||
cat > $TMPC << EOF
|
||||
#include <stddef.h>
|
||||
#include <dlfcn.h>
|
||||
int main(void) { dlopen(NULL, 0); dlclose(NULL); dlsym(NULL, NULL); return 0; }
|
||||
int main(void) { dlopen("", 0); dlclose(NULL); dlsym(NULL, ""); return 0; }
|
||||
EOF
|
||||
_dl=no
|
||||
for _ld_tmp in "" "-ldl" ; do
|
||||
@ -3745,7 +3745,7 @@ cat > $TMPC << EOF
|
||||
#define _ISOC99_SOURCE
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
int main(void) { va_list ap; vsscanf(0, 0, ap); return 0; }
|
||||
int main(void) { va_list ap; vsscanf("foo", "bar", ap); return 0; }
|
||||
EOF
|
||||
_vsscanf=no
|
||||
cc_check && _vsscanf=yes
|
||||
|
Loading…
Reference in New Issue
Block a user