threads: rename threads.c to threads-posix.c

This commit is contained in:
Kacper Michajłow 2023-10-22 04:12:14 +02:00 committed by Dudemanguy
parent 1e0aaab78c
commit f75fe33da7
3 changed files with 2 additions and 2 deletions

View File

@ -358,7 +358,7 @@ win32_threads = get_option('win32-threads').require(win32)
features += {'win32-threads': win32_threads.allowed()}
if not features['win32-threads']
pthreads = dependency('threads')
sources += files('osdep/threads.c')
sources += files('osdep/threads-posix.c')
dependencies += pthreads
endif

View File

@ -41,7 +41,7 @@ if win32
endif
if features['pthread-debug']
test_utils_files += 'osdep/threads.c'
test_utils_files += 'osdep/threads-posix.c'
endif
# The zimg code requires using threads.