From: Ævar Arnfjörð Bjarmason Date: Wed, 01 Aug 2018 07:31:09 GMT Subject: Re: Is detecting endianness at compile-time unworkable? Message-ID: <87o9emtuf6.fsf@evledraar.gmail.com> In-Reply-To: <93056823-2740-d072-1ebd-46b440b33d7e@felt.demon.nl> On Tue, Jul 31 2018, Michael Felt wrote: > For AIX: again - the determination is simple. If _AIX is set to 1 then > use BigEndian, or, use: > michael@x071:[/home/michael]uname > AIX > i.e., something like: > $(uname) == "AIX" && BigEndian=1 In lieu of some "let's test this with a compile-test" solution, that seems like a viable way forward for now. Can you please test the merge request I have at https://github.com/cr-marcstevens/sha1collisiondetection/pull/45 by manually applying that change to the relevant file in sha1dc/ and building/testing git on AIX? It should work, but as noted in the MR please test it so we can make sure, and then (if you have a GitHub account) comment on the MR saying it works for you.