From 3c21b15b812ada0ab01011ef541285bdd6f8aa47 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Tue, 20 Sep 2022 05:39:06 +0300 Subject: [PATCH 33/33] Add function header for is_bigendian() See osdn #45510 Signed-off-by: Marko Lindqvist --- utility/support.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utility/support.h b/utility/support.h index fb752c63f7..206f4de2bc 100644 --- a/utility/support.h +++ b/utility/support.h @@ -196,6 +196,9 @@ char fc_tolower(char c); const char *fc_basename(const char *path); +/************************************************************************//** + Return whether the program is currently running on a bigendian system. +****************************************************************************/ static inline bool is_bigendian(void) { #ifdef WORDS_BIGENDIAN -- 2.35.1