Changeset 23971d0 for lib/libtrace.h


Ignore:
Timestamp:
04/08/06 16:23:04 (15 years ago)
Author:
Perry Lorier <perry@…>
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:
33e1501
Parents:
9ee7134
Message:

Portability fixes for windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h

    r67a14d4 r23971d0  
    7373#  define UNUSED __attribute__((unused))
    7474#  define PACKED __attribute__((packed))
     75#  define CONSTRUCTOR __attribute__((constructor))
    7576#else
    7677#  define SIMPLE_FUNCTION
    7778#  define UNUSED
     79#  define PACKED
     80#  define CONSTRUCTOR
    7881#endif
    7982       
Note: See TracChangeset for help on using the changeset viewer.