eal: support endianness detection on Windows
authorTal Shnaiderman <talshn@mellanox.com>
Thu, 25 Jun 2020 15:24:14 +0000 (18:24 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 6 Jul 2020 23:42:27 +0000 (01:42 +0200)
commit9af385fd890e42efa6041382dda48cc439bfd97a
tree5c1bef796e9854626500e3de291bb1ea950e70f3
parent080bda1a0a6b0fdb44dbce728fd0a1ddc2287bea
eal: support endianness detection on Windows

Inclusion of the endian.h header is set only for Linux OS.

Windows endianness will be determined by the predefined
__BYTE_ORDER__ macro.

Signed-off-by: Tal Shnaiderman <talshn@mellanox.com>
lib/librte_eal/include/generic/rte_byteorder.h