aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/stub_includes/CL_orig/cl_platform.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/make/stub_includes/CL_orig/cl_platform.h b/make/stub_includes/CL_orig/cl_platform.h
index c8c6d7f6..2dbbb9d7 100644
--- a/make/stub_includes/CL_orig/cl_platform.h
+++ b/make/stub_includes/CL_orig/cl_platform.h
@@ -404,9 +404,12 @@ typedef unsigned int cl_GLenum;
/* #include <crtdefs.h> */
/* #define CL_ALIGNED(_x) _CRT_ALIGN(_x) */
#define CL_ALIGNED(_x)
+/* Don't warn if we're in GlueGen's preprocessor; it doesn't have compiler defines set */
+#elif defined( __GLUEGEN__ )
+ #define CL_ALIGNED(_x)
#else
- #warning "Need to implement some method to align data here"
- #define CL_ALIGNED(_x)
+ #warning "Need to implement some method to align data here"
+ #define CL_ALIGNED(_x)
#endif
/* Indicate whether .xyzw, .s0123 and .hi.lo are supported */