Opened 17 years ago
Closed 17 years ago
#471 closed defect (fixed)
Compilation error if pthread_mutexattr_set_type() is not present
Reported by: | bennylp | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-0.9.0 |
Component: | pjlib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: |
Description
PJLIB's os_core_unix.c needs to set the mutex type to either simple or recursive, and this is done by calling pthread_mutexattr_set_type().
Unfortunately pthread_mutexattr_set_type() may not be available in all cases (e.g. in Newlib, IIRC), and this will cause compilation to fail.
The configure script should detect if this feature is available and set the appropriate flags.
Change History (1)
comment:1 Changed 17 years ago by bennylp
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Fixed in r1783: