| 1 |
Author: Michael R. Crusoe <[email protected]> |
| 2 |
Description: use the simde header library for greater compatibility |
| 3 |
This is a copy of the patch written for the bwa Debian package. |
| 4 |
Forwarded: https://github.com/lh3/bwa/pull/283 |
| 5 |
--- a/bwa-apache2/ksw.c |
| 6 |
+++ b/bwa-apache2/ksw.c |
| 7 |
@@ -27,7 +27,8 @@ |
| 8 |
#include <stdint.h> |
| 9 |
#include <assert.h> |
| 10 |
#if defined __SSE2__ |
| 11 |
-#include <emmintrin.h> |
| 12 |
+#define SIMDE_ENABLE_NATIVE_ALIASES |
| 13 |
+#include <simde/x86/sse2.h> |
| 14 |
#elif defined __ARM_NEON |
| 15 |
#include "neon_sse.h" |
| 16 |
#else |