X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=zone.h;fp=zone.h;h=2225ec7c7f47ea9275a9ad72b2f85a2d14dbfeb8;hp=42644a1927115ca7690e730d91d84a12c46894c8;hb=bd53aab2e0f8074511f9bbb85cabfb9a975cc0c9;hpb=3f7732e0c54fca9ee8f9cd76558a86ef1e78c532 diff --git a/zone.h b/zone.h index 42644a19..2225ec7c 100644 --- a/zone.h +++ b/zone.h @@ -27,6 +27,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "qdefs.h" #include "com_list.h" +// Work around incomplete C11 support in Microsoft's stddef.h +// This matches the Clang 14 header. Microsoft's double and long double are the same. +#if defined(_MSC_VER) + typedef double max_align_t; +#endif + extern qbool mem_bigendian; // div0: heap overflow detection paranoia