]> Git Repo - secp256k1.git/commit
Use preprocessor macros instead of autoconf to detect endianness
authorTim Ruffing <[email protected]>
Tue, 21 Jul 2020 12:05:56 +0000 (14:05 +0200)
committerTim Ruffing <[email protected]>
Tue, 11 Aug 2020 09:25:39 +0000 (11:25 +0200)
commit0dccf98a21beb245f6cd9ed76fb7368529df09c7
tree3113f878c2a8a832ea0ff47dea331f9d6664bac5
parent3f4a5a10e43bfc8dae5b978cb39aa2dfbaf4d713
Use preprocessor macros instead of autoconf to detect endianness

This does not fix any particular issue but it's preferable to not
rely on autoconf. This avoids endianness mess for users on BE hosts
if they use their build without autoconf.

The macros are carefully written to err on the side of the caution,
e.g., we #error if the user manually configures a different endianness
than what we detect.
configure.ac
src/hash_impl.h
src/util.h
This page took 0.02716 seconds and 4 git commands to generate.