Ticket #9890: 0002-predef-Fix-endianness-detection-for-Android.patch

File 0002-predef-Fix-endianness-detection-for-Android.patch, 883 bytes (added by mstahl@…, 9 years ago)
  • include/boost/predef/other/endian.h

    From 191e1bcf50cf9a76c9f11cc13521844a59b7e385 Mon Sep 17 00:00:00 2001
    From: Tor Lillqvist <tml@iki.fi>
    Date: Mon, 14 Apr 2014 12:53:32 +0200
    Subject: [PATCH 2/2] predef: Fix endianness detection for Android
    
    Signed-off-by: Michael Stahl <mstahl@redhat.com>
    ---
     include/boost/predef/other/endian.h | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/include/boost/predef/other/endian.h b/include/boost/predef/other/endian.h
    index bfb00f3..12f3d85 100644
    a b information and acquired knowledge:  
    5353 */
    5454#if !BOOST_ENDIAN_BIG_BYTE && !BOOST_ENDIAN_BIG_WORD && \
    5555    !BOOST_ENDIAN_LITTLE_BYTE && !BOOST_ENDIAN_LITTLE_WORD
    56 #   if BOOST_LIB_C_GNU
     56#   if BOOST_LIB_C_GNU || defined(__ANDROID__)
    5757#       include <endian.h>
    5858#   else
    5959#       if BOOST_OS_MACOS