# HG changeset patch # User Sebastien Jodogne # Date 1515081869 -3600 # Node ID 98a04e75f15e99f8f360acc1210759e7d52915aa # Parent 99e9482b4afc10c75619483f824b648994e157ae endianness in openbsd diff -r 99e9482b4afc -r 98a04e75f15e Core/Endianness.h --- a/Core/Endianness.h Thu Jan 04 12:56:19 2018 +0100 +++ b/Core/Endianness.h Thu Jan 04 17:04:29 2018 +0100 @@ -101,6 +101,16 @@ /******************************************************************** + ** OPENBSD ARCHITECTURES + ********************************************************************/ + +#if defined(__OpenBSD__) +# define ORTHANC_HAS_BUILTIN_BYTE_SWAP 1 +# include +#endif + + +/******************************************************************** ** APPLE ARCHITECTURES (including OS X) ********************************************************************/