eal: move gcc version definition to common header
authorAshwin Sekhar T K <ashwin.sekhar@caviumnetworks.com>
Tue, 4 Jul 2017 09:24:06 +0000 (02:24 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 4 Jul 2017 13:57:22 +0000 (15:57 +0200)
commit266451e4190eac8425c50de12b67b484da70c9bc
tree63a9b5b96cde94763e694d1722016e5646a44f49
parent34e59130672cc3c1226e34be803f6f98a8e567da
eal: move gcc version definition to common header

Moved the definition of GCC_VERSION from lib/librte_table/rte_lru.h
to lib/librte_eal/common/include/rte_common.h.

Tested compilation on:
 * arm64 with gcc
 * x86 with gcc and clang

Signed-off-by: Ashwin Sekhar T K <ashwin.sekhar@caviumnetworks.com>
Reviewed-by: Jan Viktorin <viktorin@rehivetech.com>
Acked-by: Jianbo Liu <jianbo.liu@linaro.org>
lib/librte_eal/common/include/rte_common.h
lib/librte_table/rte_lru_x86.h