From: 
Subject: Debian changes

The Debian packaging of numpy-rms is maintained in git, using a workflow
similar to the one described in dgit-maint-merge(7).
The Debian delta is represented by this one combined patch; there isn't a
patch queue that can be represented as a quilt series.

A detailed breakdown of the changes is available from their canonical
representation -- git commits in the packaging repository.
For example, to see the changes made by the Debian maintainer in the first
upload of upstream version 1.2.3, you could use:

    % git clone https://git.dgit.debian.org/numpy-rms
    % cd numpy-rms
    % git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'

(If you have dgit, use `dgit clone numpy-rms`, rather than plain `git clone`.)

We don't use debian/source/options single-debian-patch because it has bugs.
Therefore, NMUs etc. may nevertheless have made additional patches.

---

diff --git a/numpy_rms/_rms.c b/numpy_rms/_rms.c
index 0e2046a..98fd17f 100644
--- a/numpy_rms/_rms.c
+++ b/numpy_rms/_rms.c
@@ -9,7 +9,7 @@ void rms_scalar(const float *a, int window_size, float *rms_output, size_t outpu
 void rms(const float *a, int window_size, float *rms_output, size_t output_length) {
     #if defined(__x86_64__) || defined(_M_X64)
         rms_avx2(a, window_size, rms_output, output_length);
-    #elif defined(__arm__) || defined(__aarch64__)
+    #elif defined(__aarch64__) || defined(__ARM_NEON) || defined(__ARM_NEON__)
         rms_neon(a, window_size, rms_output, output_length);
     #else
         rms_scalar(a, window_size, rms_output, output_length);
@@ -65,7 +65,7 @@ void rms_avx2(const float *a, int window_size, float *rms_output, size_t output_
 }
 
 // NEON implementation
-#elif defined(__arm__) || defined(__aarch64__)
+#elif defined(__aarch64__) || defined(__ARM_NEON) || defined(__ARM_NEON__)
 #include <arm_neon.h>
 
 // NB! The length of a must be >= output_length * window_size
