Skip to content

contrib: gpg-error: sanitise POSIX lock object

Rémi Denis-Courmont requested to merge Courmisch/vlc:gpg-error into master

This provides a sane portable lock object definition for all platforms with basic POSIX threads. This replaces the insane gpg-error build system attempting and failing to second guess the platform-specific size and alignment of pthread_mutex_t.

This fixes build on platforms not known to the contrib version of libgpg-error, such as Linux RISC-V.

Merge request reports