Imported Upstream version 16.11
[deb_dpdk.git] / lib / librte_eal / common / include / arch / arm / rte_memcpy_32.h
index da6c233..c3a2619 100644 (file)
@@ -148,7 +148,8 @@ rte_mov256(uint8_t *dst, const uint8_t *src)
 }
 
 #define rte_memcpy(dst, src, n)              \
-       ({ (__builtin_constant_p(n)) ?       \
+       __extension__ ({                     \
+       (__builtin_constant_p(n)) ?          \
        memcpy((dst), (src), (n)) :          \
        rte_memcpy_func((dst), (src), (n)); })