summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2023-10-18 20:32:16 +0600
committersfan5 <sfan5@live.de>2023-10-20 21:31:09 +0200
commit2fa695c3f9d4164344228ef4083e87369de3bb33 (patch)
tree86479e5d70197a27615a55ee47cdb3d3502d63e7 /player/main.c
parent3fb4eb2ba47fea78e69937971974f42cba82d1df (diff)
downloadmpv-2fa695c3f9d4164344228ef4083e87369de3bb33.tar.bz2
mpv-2fa695c3f9d4164344228ef4083e87369de3bb33.tar.xz
osdep: drop atomic fallback
even msvc (which mpv apparently doesn't support) supports C11 atomics now. no need to carry around fallback with subtle semantic differences.
Diffstat (limited to 'player/main.c')
-rw-r--r--player/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/player/main.c b/player/main.c
index f38ed58aec..8f0e63b418 100644
--- a/player/main.c
+++ b/player/main.c
@@ -80,10 +80,6 @@ static const char def_config[] =
#define FULLCONFIG "(missing)\n"
#endif
-#if !HAVE_STDATOMIC
-pthread_mutex_t mp_atomic_mutex = PTHREAD_MUTEX_INITIALIZER;
-#endif
-
enum exit_reason {
EXIT_NONE,
EXIT_NORMAL,