From 38c6187832789d0e2de972455d3b3ce447240595 Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Wed, 6 Nov 2024 01:18:22 +0000 Subject: [PATCH] Prevent breakage of Android builds. --- include/status-code/status_code.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/status-code/status_code.hpp b/include/status-code/status_code.hpp index 1aa7cfe..a010f73 100644 --- a/include/status-code/status_code.hpp +++ b/include/status-code/status_code.hpp @@ -716,7 +716,7 @@ namespace traits SYSTEM_ERROR2_NAMESPACE_END #ifndef SYSTEM_ERROR2_DISABLE_INLINE_GDB_PRETTY_PRINTERS -#if defined(__ELF__) +#if defined(__ELF__) && !defined(__ANDROID__) #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Woverlength-strings"