Fix some build errors

This commit is contained in:
Justine Tunney 2023-06-05 15:50:15 -07:00
parent 7558549d44
commit 5b908bc756
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
8 changed files with 19 additions and 11 deletions

View file

@ -1,5 +1,8 @@
/* clang-format off */
#if defined(__x86_64__) && !(__ASSEMBLER__ + __LINKER__ + 0)
#ifndef _IMMINTRIN_H_INCLUDED
# error "Never use <vaesintrin.h> directly; include <immintrin.h> instead."
#endif
#ifndef __VAESINTRIN_H_INCLUDED
#define __VAESINTRIN_H_INCLUDED
#if !defined(__VAES__) || !defined(__AVX__)