Fixing mingw build warning.

This commit is contained in:
Dario Manesku
2015-04-05 12:02:02 +02:00
parent bbff83fe62
commit 23448d6ef2

View File

@@ -454,7 +454,7 @@ typedef unsigned int cl_GLenum;
/* Define alignment keys */ /* Define alignment keys */
#if defined( __GNUC__ ) #if defined( __GNUC__ )
#define CL_ALIGNED(_x) __attribute__ ((aligned(_x))) #define CL_ALIGNED(_x) __attribute__ ((aligned(_x)))
#elif defined( _WIN32) && (_MSC_VER) #elif defined( _WIN32 ) && defined( _MSC_VER )
/* Alignment keys neutered on windows because MSVC can't swallow function arguments with alignment requirements */ /* Alignment keys neutered on windows because MSVC can't swallow function arguments with alignment requirements */
/* http://msdn.microsoft.com/en-us/library/373ak2y1%28VS.71%29.aspx */ /* http://msdn.microsoft.com/en-us/library/373ak2y1%28VS.71%29.aspx */
/* #include <crtdefs.h> */ /* #include <crtdefs.h> */