dsp.h: fix -Wundef w/__mips_dsp_rev

Change-Id: I552a543c7b039774041b43ace75b0cbea566b119
This commit is contained in:
James Zern 2017-07-11 15:52:33 -07:00
parent 88c73d8a7a
commit 92982609bc

View File

@ -93,7 +93,7 @@ extern "C" {
#define WEBP_USE_MIPS32 #define WEBP_USE_MIPS32
#if (__mips_isa_rev >= 2) #if (__mips_isa_rev >= 2)
#define WEBP_USE_MIPS32_R2 #define WEBP_USE_MIPS32_R2
#if defined(__mips_dspr2) || (__mips_dsp_rev >= 2) #if defined(__mips_dspr2) || (defined(__mips_dsp_rev) && __mips_dsp_rev >= 2)
#define WEBP_USE_MIPS_DSP_R2 #define WEBP_USE_MIPS_DSP_R2
#endif #endif
#endif #endif