Changeset da46c9d


Ignore:
Timestamp:
07/02/13 14:19:58 (7 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
6010b54
Parents:
11041eb
Message:
  • Missed a couple of BYTE_ORDER's
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_int.h

    rf00c146 rda46c9d  
    929929 * @{
    930930 */
    931 #if BYTE_ORDER == BIG_ENDIAN
     931#if __BYTE_ORDER == __BIG_ENDIAN
    932932#define bswap_host_to_be64(num) ((uint64_t)(num))
    933933#define bswap_host_to_le64(num) byteswap64(num)
     
    947947 * attempt to optimise it
    948948 */
    949 #elif BYTE_ORDER == LITTLE_ENDIAN
     949#elif __BYTE_ORDER == __LITTLE_ENDIAN
    950950#define bswap_host_to_be64(num) (byteswap64(num))
    951951#define bswap_host_to_le64(num) ((uint64_t)(num))
Note: See TracChangeset for help on using the changeset viewer.