- _mingw.h: Don't define USE_MINGW_SETJMP_TWO_ARGS for MSVC
[reactos.git] / include / crt / crtdefs.h
index 96a534b..832769e 100644 (file)
 #endif
 
 #ifndef _CRT_ALIGN
+#if defined (__midl) || defined(__WIDL__)
+#define _CRT_ALIGN(x)
+#elif defined(_MSC_VER)
+#define _CRT_ALIGN(x) __declspec(align(x))
+#else
 #define _CRT_ALIGN(x) __attribute__ ((aligned(x)))
 #endif
+#endif
 
 #ifndef _CRTNOALIAS
 #define _CRTNOALIAS