Skip to content

Commit

Permalink
crt_helpers.h MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
albinahlback committed Nov 17, 2023
1 parent 0a3aa59 commit 22c836b
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/crt_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,18 @@
#ifndef CRT_HELPERS_H
#define CRT_HELPERS_H

#if defined (__AVX2__)
# include <x86intrin.h>
#else
# include <arm_neon.h>
#if defined(__GNUC__)
# if defined(__AVX2__)
# include <x86intrin.h>
# elif defined(__ARM_NEON)
# include <arm_neon.h>
# endif
#elif defined(_MSC_VER)
# if defined(__AVX2__)
# include <intrin.h>
# elif defined(_M_ARM64)
# include <arm_neon.h>
# endif
#endif

#include "flint.h"
Expand Down

0 comments on commit 22c836b

Please sign in to comment.