Kevin Darbyshire-Bryant 99ddff0c7f tools: Update endian definitions for Mac OSX
- 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>
2018-12-19 15:08:30 +00:00
..
2016-12-16 22:39:22 +01:00
2018-11-27 10:28:28 +01:00
2018-11-01 13:49:52 +01:00
2018-11-12 12:04:38 +01:00
2018-11-25 19:23:03 +01:00
2017-01-03 14:24:33 +01:00
2017-05-25 19:01:07 +02:00
2016-12-16 22:39:22 +01:00
2016-12-16 22:39:22 +01:00
2016-12-16 22:39:22 +01:00
2018-01-18 08:04:18 +01:00
2018-04-11 21:02:50 +02:00
2018-10-07 02:10:15 +02:00
2016-12-16 22:39:22 +01:00
2018-01-17 08:52:54 +01:00
2018-05-05 07:13:41 +02:00
2018-06-08 09:56:26 +02:00
2018-01-20 20:22:01 +01:00