[dpdk-dev] [PATCH] test-pmd: Fix "__BYTE_ORDER__" not defined error

2014-12-03 Thread Thomas Monjalon
2014-12-03 16:26, Qiu, Michael: > > --- a/app/test-pmd/csumonly.c > > +++ b/app/test-pmd/csumonly.c > > @@ -81,7 +81,13 @@ > > > > /* we cannot use htons() from arpa/inet.h due to name conflicts, and we > > * cannot use rte_cpu_to_be_16() on a constant in a switch/case */ > > -#if __BYTE_ORDE

[dpdk-dev] [PATCH] test-pmd: Fix "__BYTE_ORDER__" not defined error

2014-12-03 Thread Qiu, Michael
Hi all, What about this patch? It may be some network or mail client issue of me, so not sure this patch posted to mail list successful. If failed, I will re-post it later. Thanks, Michael On 2014/12/3 19:28, Michael Qiu wrote: > app/test-pmd/csumonly.c:84:5: error: "__BYTE_ORDER__" is not def