aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/endian.h
Commit message (Collapse)AuthorAgeFilesLines
* tools: Update endian definitions for Mac OSXKevin Darbyshire-Bryant2018-12-191-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | - it appears (at least from OS X verison 10.10, Yosemite) that the big and little endian defintions have changed. the older #include <sys/_endian.h> #include <architecture/byte_order.h> reference yielded the following warning: #define __bswap_16(x) NXSwapShort(x) ^ /usr/include/architecture/byte_order.h:45:1: note: 'NXSwapShort' has been explicitly marked deprecated here For the new OS X editions, it seems that we need to refer to: #include <netinet/in.h> #include <libkern/OSByteOrder.h> and respectively use 'OSSwapInt16', 'OSSwapInt32', & 'OSSwapInt64', in place of 'NXSwapShort', 'NXSwapLong' & 'NXSwapLongLong'. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* build: BSD compile fixesFelix Fietkau2013-03-071-0/+5
| | | | | | | | | | | | | | | | following patch allows to build images for Qemu ARM on OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64. Mostly small pieces of code changes to get things right on the specific platform. Updated the README to describe better, which tools on the host are required. Added some kind of prepare scripts to install needed tools on BSD via packages. Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de> SVN-Revision: 35900
* more cygwin related build fixesFlorian Fainelli2009-04-141-1/+1
| | | | SVN-Revision: 15227
* fix sstrip linux compileFelix Fietkau2006-10-141-0/+1
| | | | SVN-Revision: 5104
* finally move buildroot-ng to trunkFelix Fietkau2016-03-201-0/+34