Test _WIN32 instead of _MSC_VER
With MinGW, __declspec is also implemented. Reported in the CGAL-discuss mailing list: Date: Wed, 26 Nov 2014 14:59:46 +0000 From: xantares 09 <xantares09@hotmail.com> To: "cgal-discuss@inria.fr" <cgal-discuss@inria.fr> Subject: [cgal-discuss] MinGW issues
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
#include <emmintrin.h>
|
||||
|
||||
#if defined ( _MSC_VER )
|
||||
#if defined ( _WIN32 )
|
||||
#define CGAL_ALIGN_16 __declspec(align(16))
|
||||
#elif defined( __GNU__ )
|
||||
#define CGAL_ALIGN_16 __attribute__((aligned(16)))
|
||||
|
||||
Reference in New Issue
Block a user