Loongson: Fixed compilation warnings for undefined macros.

This commit is contained in:
gxw 2024-01-18 11:20:51 +08:00 committed by Cosmin Truta
parent 46f1106a3f
commit 064f992187

View File

@ -204,6 +204,8 @@
# else
# define PNG_MIPS_MMI_OPT 0
# endif
# else
# define PNG_MIPS_MMI_OPT 0
# endif
#endif
@ -215,6 +217,14 @@
# endif
#endif
#ifndef PNG_LOONGARCH_LSX_OPT
# if defined(__loongarch_sx)
# define PNG_LOONGARCH_LSX_OPT 1
# else
# define PNG_LOONGARCH_LSX_OPT 0
# endif
#endif
#ifndef PNG_INTEL_SSE_OPT
# ifdef PNG_INTEL_SSE
/* Only check for SSE if the build configuration has been modified to