git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] compat/bswap.h: don't assume MSVC is little-endian

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 11, 2020, 16:40 UTC
Message-ID
<xmqqo8k34zko.fsf@gitster.c.googlers.com>
In-Reply-To
<nycvar.QRO.7.76.6.2011111723050.18437@tvgsbejvaqbjf.bet>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 17 quoted lines
>> ...
>> So let's go back to the old way of detecting MSVC, and then checking
>> architecture from a list of little-endian architecture macros.
>>
>> Note that MSVC does not treat ARM64 as bi-endian, so we can safely treat
>> it as little-endian.
>>
>> Helped-by: brian m. carlson <sandals@crustytoothpaste.net>
>> Helped-by: Jeff King <peff@peff.net>
>> Helped-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
>> Helped-by: Junio C Hamano <gitster@pobox.com>
>> Signed-off-by: Daniel Gurney <dgurney99@gmail.com>
>
> ACK!
>
> Thank you so much,
> Dscho
Thanks, all.
Previous: Johannes Schindelin
Message 3 of 3 in “compat/bswap.h: don't assume MSVC is little-endian”
  1. compat/bswap.h: don't assume MSVC is little-endianDaniel Gurney, Nov 11, 2020
  2. Johannes SchindelinNov 11, 2020
  3. Junio C HamanoNov 11, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.