summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-07-31 04:34:46 -0700
committerChris Robinson <[email protected]>2014-07-31 04:34:46 -0700
commitce046d2f03a349d15a5e092d64287df33a79117b (patch)
tree1ff151d7743a5bf7203591a7dab69d0beaf761d0 /Alc
parent6ce464aed89de37c519fad36d17fa9b9ba7819e5 (diff)
Rename ATOMIC_COMPARE_EXCHANGE to ATOMIC_COMPARE_EXCHANGE_STRONG
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 1576b100..c07ada7f 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -2191,7 +2191,7 @@ static void ReleaseContext(ALCcontext *context, ALCdevice *device)
}
origctx = context;
- if(ATOMIC_COMPARE_EXCHANGE(ALCcontext*, &GlobalContext, &origctx, NULL))
+ if(ATOMIC_COMPARE_EXCHANGE_STRONG(ALCcontext*, &GlobalContext, &origctx, NULL))
ALCcontext_DecRef(context);
ALCdevice_Lock(device);