summaryrefslogtreecommitdiffstats
path: root/Alc/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/atomic.h')
-rw-r--r--Alc/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/atomic.h b/Alc/atomic.h
index 3bd5e6af..10f8e436 100644
--- a/Alc/atomic.h
+++ b/Alc/atomic.h
@@ -106,7 +106,7 @@ inline RefCount IncrementRef(volatile RefCount *ptr)
inline RefCount DecrementRef(volatile RefCount *ptr)
{ return InterlockedDecrement(ptr); }
-extern ALbyte LONG_size_does_not_match_int[(sizeof(LONG)==sizeof(int))?1:-1];
+static_assert(sizeof(LONG)==sizeof(int), "sizeof LONG does not match sizeof int");
inline int ExchangeInt(volatile int *ptr, int newval)
{