aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alSource.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-26 14:48:26 -0800
committerChris Robinson <[email protected]>2018-11-26 14:48:26 -0800
commit053599b2435844eddcc084414ab9dd1c5ad7ec23 (patch)
treedd041ee64b6d056708ad500f5e6d5b0d144cecc7 /OpenAL32/Include/alSource.h
parenta6923790fac739f0b98db6c06bc93543b9707556 (diff)
Avoid using the ATOMIC() macro
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r--OpenAL32/Include/alSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 05ccdadf..2cbc5ddc 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -19,7 +19,7 @@ struct ALsource;
typedef struct ALbufferlistitem {
- ATOMIC(struct ALbufferlistitem*) next;
+ std::atomic<ALbufferlistitem*> next;
ALsizei max_samples;
ALsizei num_buffers;
struct ALbuffer *buffers[];