commit 184fd261b307b432a32e36d9e7c278245ada636f
parent 374b1909f9c9aeb20de62225a55d2a35fc3f1b65
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date: Mon, 6 Jul 2026 16:04:38 +0200
mhd_byteorder.h: compacted error messages
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/mhd2/mhd_byteorder.h b/src/mhd2/mhd_byteorder.h
@@ -180,11 +180,9 @@
#ifdef mhd_BYTE_ORDER
/* Some sanity checks */
# if defined(WORDS_BIGENDIAN) && mhd_BYTE_ORDER != mhd_BIG_ENDIAN
-#error \
- Configure detected big endian byte order but headers specify different byte order
+#error Configure found big endian but headers specify different order
# elif ! defined(WORDS_BIGENDIAN) && mhd_BYTE_ORDER == mhd_BIG_ENDIAN
-#error \
- Configure did not detect big endian byte order but headers specify big endian byte order
+#error Headers specify big endian but configure did not detect it
# endif /* !WORDS_BIGENDIAN && mhd_BYTE_ORDER == mhd_BIG_ENDIAN */
#endif /* mhd_BYTE_ORDER */