All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com>, ccan@lists.ozlabs.org
Cc: ego@linux.vnet.ibm.com, svaidy@linux.vnet.ibm.com
Subject: Re: [PATCH] Add Glibc like endianess check
Date: Tue, 12 Sep 2017 20:32:40 +0930	[thread overview]
Message-ID: <871snc89in.fsf@rustcorp.com.au> (raw)
In-Reply-To: <1505193793-776-1-git-send-email-akshay.adiga@linux.vnet.ibm.com>

Akshay Adiga <akshay.adiga@linux.vnet.ibm.com> writes:
> An application built using glibc would expect __BYTE_ORDER to tell if
> it should be compiled for BIG_ENDIAN or LITTLE_ENDIAN, whereas ccan uses
> HAVE_LITTLE_ENDIAN and HAVE_BIG_ENDIAN for the same purpose.
>
> Hence setting __BYTE_ORDER based on what CCAN provides will no longer
> break the applications which check endianness the glibc way.

Thanks, applied!

Cheers,
Rusty.
_______________________________________________
ccan mailing list
ccan@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/ccan

       reply	other threads:[~2017-09-12 20:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1505193793-776-1-git-send-email-akshay.adiga@linux.vnet.ibm.com>
2017-09-12 11:02 ` Rusty Russell [this message]
2017-09-13  6:33   ` [PATCH] Add Glibc like endianess check Akshay Adiga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871snc89in.fsf@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=akshay.adiga@linux.vnet.ibm.com \
    --cc=ccan@lists.ozlabs.org \
    --cc=ego@linux.vnet.ibm.com \
    --cc=svaidy@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.