headers: Fix include order of fvec.h/ivec.h/dvec.h referring to each other Previously, these headers expanded properly if dvec.h was included first, but not if fvec.h or ivec.h were included first. Move the cyclical includes last, so that the bits that these headers are expected to declare are declared before the next level header is included. Signed-off-by: Martin Storsjö <martin@martin.st>
diff --git a/mingw-w64-headers/crt/fvec.h b/mingw-w64-headers/crt/fvec.h index 120ff96..48a343c 100644 --- a/mingw-w64-headers/crt/fvec.h +++ b/mingw-w64-headers/crt/fvec.h
@@ -13,7 +13,6 @@ #include <intrin.h> #include <assert.h> -#include <ivec.h> #include <crtdefs.h> #if defined(_ENABLE_VEC_DEBUG) @@ -249,5 +248,8 @@ #endif /* #ifdef __SSE__ */ #pragma pack(pop) + +#include <ivec.h> + #endif #endif
diff --git a/mingw-w64-headers/crt/ivec.h b/mingw-w64-headers/crt/ivec.h index 7e09ca5..70e8c5f 100644 --- a/mingw-w64-headers/crt/ivec.h +++ b/mingw-w64-headers/crt/ivec.h
@@ -13,7 +13,6 @@ #include <intrin.h> #include <assert.h> -#include <dvec.h> #include <crtdefs.h> #pragma pack(push,_CRT_PACKING) @@ -51,6 +50,8 @@ #endif /* ifdef __SSE__ */ +#include <dvec.h> + #endif #endif