Skip to content

Commit

Permalink
Fix incorrect macro names in arch.h
Browse files Browse the repository at this point in the history
Signed-off-by: Tristan Matthews <[email protected]>
  • Loading branch information
LRFLEW authored and tmatth committed Nov 22, 2020
1 parent 0618173 commit 095fd36
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions libspeexdsp/arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 095fd36

Please sign in to comment.