Just like we do for GCC.

Signed-off-by: Jacek Caban <ja...@codeweavers.com>
---
 mingw-w64-headers/crt/stddef.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


diff --git a/mingw-w64-headers/crt/stddef.h b/mingw-w64-headers/crt/stddef.h
index 97f5c6c9..796ab884 100644
--- a/mingw-w64-headers/crt/stddef.h
+++ b/mingw-w64-headers/crt/stddef.h
@@ -415,8 +415,9 @@ typedef __WCHAR_TYPE__ wchar_t;
 
 #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) \
   || (defined(__cplusplus) && __cplusplus >= 201103L)
-#ifndef _GCC_MAX_ALIGN_T
+#if !defined(_GCC_MAX_ALIGN_T) || !defined(__CLANG_MAX_ALIGN_T_DEFINED)
 #define _GCC_MAX_ALIGN_T
+#define __CLANG_MAX_ALIGN_T_DEFINED
 /* Type whose alignment is supported in every context and is at least
    as great as that of any standard type not using alignment
    specifiers.  */

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to