Browse Source

Another MSVC compat fix

Signed-off-by: falkTX <falktx@falktx.com>
pull/1775/head
falkTX 1 year ago
parent
commit
8b3f95cd15
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      source/modules/water/memory/Atomic.h

+ 3
- 1
source/modules/water/memory/Atomic.h View File

@@ -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)))


Loading…
Cancel
Save