diff --git a/source/modules/water/memory/Atomic.h b/source/modules/water/memory/Atomic.h index 4247f80fe..85e4fb81d 100644 --- a/source/modules/water/memory/Atomic.h +++ b/source/modules/water/memory/Atomic.h @@ -168,7 +168,9 @@ public: This is exposed publicly in case you need to manipulate it directly for performance reasons. */ - #ifdef CARLA_OS_64BIT + #if defined(_MSC_VER) + __declspec (align (8)) + #elif defined(CARLA_OS_64BIT) __attribute__ ((aligned (8))) #else __attribute__ ((aligned (4)))