eal: fix build with intrinsics and gcc < 4.8
authorIntel <intel.com>
Fri, 8 Nov 2013 02:00:00 +0000 (03:00 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 20 Nov 2013 09:27:00 +0000 (10:27 +0100)
commit732a9d303543128669396930106223b97b99e21a
treef5c9a1c831cea9a977642ac7fe634b71d1f5fa87
parent63baec8781f1053842c7d0ef0ce533bbb03dd022
eal: fix build with intrinsics and gcc < 4.8

Provide a fallback if the intrinsic __builtin_bswap16 is not available.

Signed-off-by: Intel
lib/librte_eal/common/include/rte_byteorder.h