summaryrefslogtreecommitdiff
path: root/png/arm/arm_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'png/arm/arm_init.c')
-rw-r--r--png/arm/arm_init.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/png/arm/arm_init.c b/png/arm/arm_init.c
index 84d05556f..0ea9c836c 100644
--- a/png/arm/arm_init.c
+++ b/png/arm/arm_init.c
@@ -1,4 +1,3 @@
-
/* arm_init.c - NEON optimised filter functions
*
* Copyright (c) 2018-2022 Cosmin Truta
@@ -36,14 +35,14 @@
#ifndef PNG_ARM_NEON_FILE
# if defined(__aarch64__) || defined(_M_ARM64)
/* ARM Neon is expected to be unconditionally available on ARM64. */
-# error "PNG_ARM_NEON_CHECK_SUPPORTED must not be defined on ARM64"
+# error PNG_ARM_NEON_CHECK_SUPPORTED must not be defined on ARM64
# elif defined(__ARM_NEON__) || defined(__ARM_NEON)
/* ARM Neon is expected to be available on the target CPU architecture. */
-# error "PNG_ARM_NEON_CHECK_SUPPORTED must not be defined on this CPU arch"
+# error PNG_ARM_NEON_CHECK_SUPPORTED must not be defined on this CPU arch
# elif defined(__linux__)
# define PNG_ARM_NEON_FILE "contrib/arm-neon/linux.c"
# else
-# error "No support for run-time ARM Neon checking; use compile-time options"
+# error No support for run-time ARM Neon checking; use compile-time options
# endif
#endif
@@ -54,7 +53,7 @@ static int png_have_neon(png_structp png_ptr);
#endif /* PNG_ARM_NEON_CHECK_SUPPORTED */
#ifndef PNG_ALIGNED_MEMORY_SUPPORTED
-# error "ALIGNED_MEMORY is required; set: -DPNG_ALIGNED_MEMORY_SUPPORTED"
+# error ALIGNED_MEMORY is required; please define PNG_ALIGNED_MEMORY_SUPPORTED
#endif
void