Merge pull request #1337 from sgiraudot/Number_types-Handle_MinGW_align-GF

Fix warning for MinGW: check _MSC_VER instead of _WIN32
This commit is contained in:
Simon Giraudot 2016-08-11 14:41:56 +02:00 committed by GitHub
commit aea9f94d69
1 changed files with 2 additions and 2 deletions

View File

@ -27,9 +27,9 @@
#include <emmintrin.h>
#if defined ( _WIN32 )
#if defined ( _MSC_VER )
#define CGAL_ALIGN_16 __declspec(align(16))
#elif defined( __GNUC__ ) || defined(__MINGW64__)
#elif defined( __GNUC__ )
#define CGAL_ALIGN_16 __attribute__((aligned(16)))
#endif