summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-10-22 04:12:14 +0200
committerDudemanguy <random342@airmail.cc>2023-11-05 17:36:17 +0000
commitf75fe33da7d01fee2fa9365f926060fc7ffb74d0 (patch)
tree144805c59b01352b30d641d7c0b1b3f4d0f5b824
parent1e0aaab78cdb94799878be73833617d0c4253c64 (diff)
downloadmpv-f75fe33da7d01fee2fa9365f926060fc7ffb74d0.tar.bz2
mpv-f75fe33da7d01fee2fa9365f926060fc7ffb74d0.tar.xz
threads: rename threads.c to threads-posix.c
-rw-r--r--meson.build2
-rw-r--r--osdep/threads-posix.c (renamed from osdep/threads.c)0
-rw-r--r--test/meson.build2
3 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index e0f7fd7b91..29960196b3 100644
--- a/meson.build
+++ b/meson.build
@@ -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
diff --git a/osdep/threads.c b/osdep/threads-posix.c
index b9ead75723..b9ead75723 100644
--- a/osdep/threads.c
+++ b/osdep/threads-posix.c
diff --git a/test/meson.build b/test/meson.build
index f65110967f..5ddcedd10a 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -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.