summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--celt/fixed_generic.h3
-rw-r--r--celt/kiss_fft.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/celt/fixed_generic.h b/celt/fixed_generic.h
index e8b90f49..865f0aab 100644
--- a/celt/fixed_generic.h
+++ b/celt/fixed_generic.h
@@ -33,6 +33,9 @@
#ifndef FIXED_GENERIC_H
#define FIXED_GENERIC_H
+#define S_MUL_ADD(a, b, c, d) (S_MUL(a,b)+S_MUL(c,d))
+#define S_MUL_SUB(a, b, c, d) (S_MUL(a,b)-S_MUL(c,d))
+
static inline int MULT16_16_Q15_ADD(int a, int b, int c, int d) {
int m;
long long ac1 = ((long long)a * (long long)b);
diff --git a/celt/kiss_fft.c b/celt/kiss_fft.c
index b0227069..db4ec16d 100644
--- a/celt/kiss_fft.c
+++ b/celt/kiss_fft.c
@@ -43,9 +43,6 @@
#ifdef FIXED_POINT
-#define S_MUL_ADD(a, b, c, d) (S_MUL(a,b)+S_MUL(c,d))
-#define S_MUL_SUB(a, b, c, d) (S_MUL(a,b)-S_MUL(c,d))
-
#undef S_MUL_ADD
static inline int S_MUL_ADD(int a, int b, int c, int d) {
int m;