mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 23:08:35 +00:00
[libvpx] Fix pthread configure checks: "Null pointer passed as an argument to a 'nonnull' parameter"
This commit is contained in:
1 parent
a55111af58
commit
0b3e4644f2
2 files changed
+6
-2
No files matched your search
@@ -1631,7 +1631,9 @@ EOF
|
||||
check_header pthread.h && check_lib -lpthread <<EOF && add_extralibs -lpthread || disable_feature pthread_h
|
||||
#include <pthread.h>
|
||||
#include <stddef.h>
|
||||
int main(void) { return pthread_create(NULL, NULL, NULL, NULL); }
|
||||
void *thread_check (void *);
|
||||
void *thread_check (void *obj){ return obj;};
|
||||
int main(void) { pthread_t thread_id; return pthread_create(&thread_id, NULL, thread_check, NULL); }
|
||||
EOF
|
||||
|
||||
enabled pthread_h && check_lib -lpthread <<EOF && enable_feature pthread_setname_np
|
||||
|
||||
Vendored
+3
-1
@@ -638,7 +638,9 @@ EOF
|
||||
check_header pthread.h && check_lib -lpthread <<EOF || disable_feature pthread_h
|
||||
#include <pthread.h>
|
||||
#include <stddef.h>
|
||||
int main(void) { return pthread_create(NULL, NULL, NULL, NULL); }
|
||||
void *thread_check (void *);
|
||||
void *thread_check (void *obj){ return obj;};
|
||||
int main(void) { pthread_t thread_id; return pthread_create(&thread_id, NULL, thread_check, NULL); }
|
||||
EOF
|
||||
check_header unistd.h # for sysconf(3) and friends.
|
||||
|
||||
|
||||
Reference in new issue
Block a user