summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-01-01 18:03:59 +0100
committerMitya Selivanov <automainint@guattari.tech>2023-01-01 18:03:59 +0100
commitd73b3ebf3b914fc1ebc32025626a50786e99438b (patch)
tree5e5bd9267695d8915a27edf48e46cc9d19a16eed /source
parent804c7139c2bb2cbc3053008703c86f9bf9f01aa6 (diff)
downloadkit-d73b3ebf3b914fc1ebc32025626a50786e99438b.zip
Fix mutexattr checks
Diffstat (limited to 'source')
-rw-r--r--source/kit/thread.posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/kit/thread.posix.c b/source/kit/thread.posix.c
index 4d21abb..52f52ad 100644
--- a/source/kit/thread.posix.c
+++ b/source/kit/thread.posix.c
@@ -114,7 +114,7 @@ void mtx_destroy(mtx_t *mtx) {
* Thus the linker will be happy and things don't clash when building
* with -O1 or greater.
*/
-# if defined(HAVE_FUNC_ATTRIBUTE_WEAK) && !defined(__CYGWIN__)
+# if defined(KIT_HAVE_FUNC_ATTRIBUTE_WEAK) && !defined(__CYGWIN__)
__attribute__((weak)) int pthread_mutexattr_init(
pthread_mutexattr_t *attr);