summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNedeljko Babic <nbabic@mips.com>2012-02-25 11:19:18 +0100
committerNedeljko Babic <nbabic@mips.com>2012-04-03 15:30:17 +0200
commit89d861589936c9f0e8965fb4f6690ca074d1ccd0 (patch)
tree9c84a6b27dca9726b4214fe20d98dd1d51711b61
parent9c25b39192a6d4544bffebe41b7f296bfdb6a2e7 (diff)
downloadtremor-89d861589936c9f0e8965fb4f6690ca074d1ccd0.tar.gz
Add flag check for conditional compilation of code (regarding MIPS optimization).
-rw-r--r--mdct_lookup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdct_lookup.h b/mdct_lookup.h
index 734e5ff..859bfce 100644
--- a/mdct_lookup.h
+++ b/mdct_lookup.h
@@ -18,7 +18,7 @@
#include "os_types.h"
/* {sin(2*i*PI/4096), cos(2*i*PI/4096)}, with i = 0 to 512 */
-#ifndef _ARM_ASSEM_
+#if !defined(_ARM_ASSEM_) && !defined(MIPS_DSP)
static
#endif
LOOKUP_T sincos_lookup0[1026] = {
@@ -282,7 +282,7 @@ LOOKUP_T sincos_lookup0[1026] = {
};
/* {sin((2*i+1)*PI/4096), cos((2*i+1)*PI/4096)}, with i = 0 to 511 */
-#ifndef _ARM_ASSEM_
+#if !defined(_ARM_ASSEM_) && !defined(MIPS_DSP)
static
#endif
LOOKUP_T sincos_lookup1[1024] = {