From c8aac4a63d24a7d3efeabf13a7cb4361273f9350 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Sat, 7 Jan 2023 13:28:12 -0500 Subject: [PATCH] Guard endian --- include/fast_float/float_common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/fast_float/float_common.h b/include/fast_float/float_common.h index 5ea8764..ad0854d 100644 --- a/include/fast_float/float_common.h +++ b/include/fast_float/float_common.h @@ -50,7 +50,11 @@ #elif defined(sun) || defined(__sun) #include #else +#ifdef __has_include +#if __has_include() #include +#endif //__has_include() +#endif //__has_include #endif # #ifndef __BYTE_ORDER__