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"