mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
chore: Fix whitespace in pngpriv.h
This commit is contained in:
parent
537c66660e
commit
31439b6b8d
10
pngpriv.h
10
pngpriv.h
@ -36,7 +36,7 @@
|
|||||||
* still required (as of 2011-05-02.)
|
* still required (as of 2011-05-02.)
|
||||||
*/
|
*/
|
||||||
#ifndef _POSIX_SOURCE
|
#ifndef _POSIX_SOURCE
|
||||||
# define _POSIX_SOURCE 1 /* Just the POSIX 1003.1 and C89 APIs */
|
# define _POSIX_SOURCE 1 /* Just the POSIX 1003.1 and C89 APIs */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PNG_VERSION_INFO_ONLY
|
#ifndef PNG_VERSION_INFO_ONLY
|
||||||
@ -190,7 +190,8 @@
|
|||||||
#endif /* PNG_ARM_NEON_OPT > 0 */
|
#endif /* PNG_ARM_NEON_OPT > 0 */
|
||||||
|
|
||||||
#ifndef PNG_MIPS_MSA_OPT
|
#ifndef PNG_MIPS_MSA_OPT
|
||||||
# if defined(__mips_msa) && (__mips_isa_rev >= 5) && defined(PNG_ALIGNED_MEMORY_SUPPORTED)
|
# if defined(__mips_msa) && (__mips_isa_rev >= 5) && \
|
||||||
|
defined(PNG_ALIGNED_MEMORY_SUPPORTED)
|
||||||
# define PNG_MIPS_MSA_OPT 2
|
# define PNG_MIPS_MSA_OPT 2
|
||||||
# else
|
# else
|
||||||
# define PNG_MIPS_MSA_OPT 0
|
# define PNG_MIPS_MSA_OPT 0
|
||||||
@ -199,7 +200,8 @@
|
|||||||
|
|
||||||
#ifndef PNG_MIPS_MMI_OPT
|
#ifndef PNG_MIPS_MMI_OPT
|
||||||
# ifdef PNG_MIPS_MMI
|
# ifdef PNG_MIPS_MMI
|
||||||
# if defined(__mips_loongson_mmi) && (_MIPS_SIM == _ABI64) && defined(PNG_ALIGNED_MEMORY_SUPPORTED)
|
# if defined(__mips_loongson_mmi) && (_MIPS_SIM == _ABI64) && \
|
||||||
|
defined(PNG_ALIGNED_MEMORY_SUPPORTED)
|
||||||
# define PNG_MIPS_MMI_OPT 1
|
# define PNG_MIPS_MMI_OPT 1
|
||||||
# else
|
# else
|
||||||
# define PNG_MIPS_MMI_OPT 0
|
# define PNG_MIPS_MMI_OPT 0
|
||||||
@ -231,7 +233,7 @@
|
|||||||
* enable SSE optimizations. This means that these optimizations will
|
* enable SSE optimizations. This means that these optimizations will
|
||||||
* be off by default. See contrib/intel for more details.
|
* be off by default. See contrib/intel for more details.
|
||||||
*/
|
*/
|
||||||
# if defined(__SSE4_1__) || defined(__AVX__) || defined(__SSSE3__) || \
|
# if defined(__SSE4_1__) || defined(__AVX__) || defined(__SSSE3__) || \
|
||||||
defined(__SSE2__) || defined(_M_X64) || defined(_M_AMD64) || \
|
defined(__SSE2__) || defined(_M_X64) || defined(_M_AMD64) || \
|
||||||
(defined(_M_IX86_FP) && _M_IX86_FP >= 2)
|
(defined(_M_IX86_FP) && _M_IX86_FP >= 2)
|
||||||
# define PNG_INTEL_SSE_OPT 1
|
# define PNG_INTEL_SSE_OPT 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user