diff options
author | LRFLEW <LRFLEW@aol.com> | 2020-11-22 01:51:58 +0300 |
---|---|---|
committer | Tristan Matthews <tmatth@videolan.org> | 2020-11-22 05:31:49 +0300 |
commit | 095fd36e189554bbcbfd9884630a53d7792409dc (patch) | |
tree | e8121577d8c10fd47a9833cc56e49bcefaca0271 | |
parent | 06181733a6c304bd152caadfc5cd2aaf492016b2 (diff) |
Fix incorrect macro names in arch.h
Signed-off-by: Tristan Matthews <tmatth@videolan.org>
-rw-r--r-- | libspeexdsp/arch.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libspeexdsp/arch.h b/libspeexdsp/arch.h index 4d953c6..1cac3d9 100644 --- a/libspeexdsp/arch.h +++ b/libspeexdsp/arch.h @@ -44,7 +44,7 @@ #ifdef USE_SSE #error SSE is only for floating-point #endif -#if ((defined (ARM4_ASM)||defined (ARM4_ASM)) && defined(BFIN_ASM)) || (defined (ARM4_ASM)&&defined(ARM5E_ASM)) +#if defined(ARM4_ASM) + defined(ARM5E_ASM) + defined(BFIN_ASM) > 1 #error Make up your mind. What CPU do you have? #endif #ifdef VORBIS_PSYCHO @@ -56,10 +56,10 @@ #ifndef FLOATING_POINT #error You now need to define either FIXED_POINT or FLOATING_POINT #endif -#if defined (ARM4_ASM) || defined(ARM5E_ASM) || defined(BFIN_ASM) +#if defined(ARM4_ASM) || defined(ARM5E_ASM) || defined(BFIN_ASM) #error I suppose you can have a [ARM4/ARM5E/Blackfin] that has float instructions? #endif -#ifdef FIXED_POINT_DEBUG +#ifdef FIXED_DEBUG #error "Don't you think enabling fixed-point is a good thing to do if you want to debug that?" #endif @@ -117,9 +117,9 @@ typedef spx_word32_t spx_sig_t; #ifdef ARM5E_ASM #include "fixed_arm5e.h" -#elif defined (ARM4_ASM) +#elif defined(ARM4_ASM) #include "fixed_arm4.h" -#elif defined (BFIN_ASM) +#elif defined(BFIN_ASM) #include "fixed_bfin.h" #endif @@ -207,7 +207,7 @@ typedef float spx_word32_t; #endif -#if defined (CONFIG_TI_C54X) || defined (CONFIG_TI_C55X) +#if defined(CONFIG_TI_C54X) || defined(CONFIG_TI_C55X) /* 2 on TI C5x DSP */ #define BYTES_PER_CHAR 2 |