Changeset 0a52945 for lib/libtrace.h.in


Ignore:
Timestamp:
03/26/15 10:39:21 (7 years ago)
Author:
Richard Sanger <rsangerarj@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, 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:
e99c493
Parents:
61f4b71
Message:

Define macros to fix warnings/errors on BSD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    r6b98325 r0a52945  
    216216#endif
    217217
    218 // Used to fight against false sharing
     218#ifndef CACHE_LINE_SIZE
    219219#define CACHE_LINE_SIZE 64
     220#endif
    220221#define ALIGN_STRUCT(x) __attribute__((aligned(x)))
    221222
Note: See TracChangeset for help on using the changeset viewer.