Ignore:
Timestamp:
Feb 2, 2012, 6:19:07 PM (8 years ago)
Author:
lindanl
Message:

Fix ATTRIBUTE_SIMD_ALIGN for MSVC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/bitblock.hpp

    r1908 r1909  
    2626#ifndef ATTRIBUTE_SIMD_ALIGN
    2727    #if defined _MSC_VER
    28         #define ATTRIBUTE_SIMD_ALIGN __declspec(align(sizeof(BitBlock)))
     28        #define ATTRIBUTE_SIMD_ALIGN __declspec(align(16))
    2929    #elif defined __GNUC__
    3030        #define ATTRIBUTE_SIMD_ALIGN __attribute__((aligned(sizeof(BitBlock))))
Note: See TracChangeset for help on using the changeset viewer.