thread/Posix{Mutex,Cond}: use "constexpr" only with glibc

Apparently all other C libraries are not compatible with "constexpr".
Those which are not will get a performance penalty, but at least they
work at all.
This commit is contained in:
Max Kellermann
2015-08-25 12:46:12 +02:00
parent e9a544fa98
commit d2dd6f7c70
3 changed files with 15 additions and 14 deletions

1
NEWS
View File

@@ -1,4 +1,5 @@
ver 0.19.14 (not yet released)
* fix build failures on non-glibc builds due to constexpr Mutex
ver 0.19.13 (2016/02/23)
* tags