mirror of
https://github.com/webmproject/libwebp.git
synced 2025-08-28 23:03:20 +02:00
Fix check_c_source_compiles with pthread.
Also fix the variables: we need to check for PTHREAD_PRIO_INHERIT and PTHREAD_CREATE_JOINABLE (not PTHREAD_CREATE_UNDETACHED) and internally use HAVE_PTHREAD_PRIO_INHERIT and PTHREAD_CREATE_JOINABLE (and not HAVE_PTHREAD_CREATE_JOINABLE). cmake/config.h.in actually had the right variables. BUG=webp:498 Change-Id: Ibf6cf854337cea5781a74316024f8ff4960366d7
This commit is contained in:
@@ -93,10 +93,6 @@
|
||||
/* Define to the version of this package. */
|
||||
#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@"
|
||||
|
||||
/* Define to necessary symbol if this constant uses a non-standard name on
|
||||
your system. */
|
||||
#cmakedefine PTHREAD_CREATE_JOINABLE 1
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#cmakedefine STDC_HEADERS 1
|
||||
|
||||
|
Reference in New Issue
Block a user