mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Loongson: Fixed compilation warnings for undefined macros.
This commit is contained in:
parent
46f1106a3f
commit
064f992187
10
pngpriv.h
10
pngpriv.h
@ -204,6 +204,8 @@
|
|||||||
# else
|
# else
|
||||||
# define PNG_MIPS_MMI_OPT 0
|
# define PNG_MIPS_MMI_OPT 0
|
||||||
# endif
|
# endif
|
||||||
|
# else
|
||||||
|
# define PNG_MIPS_MMI_OPT 0
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -215,6 +217,14 @@
|
|||||||
# endif
|
# endif
|
||||||
#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
|
#ifndef PNG_INTEL_SSE_OPT
|
||||||
# ifdef PNG_INTEL_SSE
|
# ifdef PNG_INTEL_SSE
|
||||||
/* Only check for SSE if the build configuration has been modified to
|
/* Only check for SSE if the build configuration has been modified to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user