aboutsummaryrefslogtreecommitdiff
path: root/src/compat
AgeCommit message (Collapse)Author
2015-12-13Bump copyright headers to 2015MarcoFalke
2015-06-07Add an alternate location of endian.h headerAndriy Voskoboinyk
2015-03-06build: Endian compatibilityWladimir J. van der Laan
- Detect endian instead of stopping configure on big-endian - Add `byteswap.h` and `endian.h` header for compatibility with Windows and other operating systems that don't come with them - Update `crypto/common.h` functions to use compat endian header
2015-02-23build: remove libstdc++ backwards-compatCory Fields
Backwards-compatibility for libstdc++ is not limited to straightforward abi changes. Symbol visibility also needs to be taken into consideration, and that really can't be addressed simply. Instead, just static-link libstdc++ for backwards-compat.
2014-12-19Added "Core" to copyright headerssandakersmann
Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
2014-11-24Check for strnlen and provide it if it is not found.Pavel Janík
2014-11-03Fix all header definesPavel Janík
2014-09-29update license of compat and cryptoPhilip Kaufmann
- change license to be just MIT for all files in compat and crypto - also add missing header end comments - ensure default header include style
2014-09-25Apply clang-format on crypto/* and compat/*Pieter Wuille
2014-08-08libc-compat: add new symbol that's now neededCory Fields
2014-06-23build: fix build weirdness after 54372482.Cory Fields
bitcoin-config.h moved, but the old file is likely to still exist when reconfiguring or switching branches. This would've caused files to not rebuild correctly, and other strange problems. Make the path explicit so that the old one cannot be found. Core libs use config/bitcoin-config.h. Libs (like crypto) which don't want access to bitcoin's headers continue to use -Iconfig and #include bitcoin-config.h.
2014-06-21small cleanup in src/compat .h and .cppPhilip Kaufmann
- add license header - fix include guards - fix indentation
2014-06-16sanity: add libc/stdlib sanity checksCory Fields
These are meant to test our back-compat stubs, but they are enabled for all builds for the sake of consistency.
2014-04-11build: add symbol for upcoming gcc 4.9's libstdc++Cory Fields
2014-04-10build: add glibc/libstdc++ back-compat stubsCory Fields
glibc/libstdc++ have added new symbols in later releases. When running a new binary against an older glibc, the run-time linker is unable to resolve the new symbols and the binary refuses to run. This can be fixed by adding our own versions of those functions, so that the build-time linker does not emit undefined symbols for them. This enables our binary releases to work on older Linux distros, while not incurring the downsides of a fully static binary.