Changeset bd6576d for lib/wandio.h


Ignore:
Timestamp:
03/06/12 14:15:17 (10 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:
60f3c4c
Parents:
c5a4210
Message:
  • Export the wandio functions - they might come in handy for users and we're installing wandio.h anyway...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/wandio.h

    rf258932 rbd6576d  
    3939#include <inttypes.h>
    4040#include <stdbool.h>
     41
     42#if __GNUC__ >= 4
     43        #ifdef LT_BUILDING_DLL
     44                #define DLLEXPORT __attribute__ ((visibility("default")))
     45                #define DLLLOCAL __attribute__ ((visibility("hidden")))
     46        #else
     47                #define DLLEXPORT
     48                #define DLLLOCAL
     49        #endif
     50#else
     51        #define DLLEXPORT
     52        #define DLLLOCAL
     53#endif
     54
     55
    4156
    4257/** @file
Note: See TracChangeset for help on using the changeset viewer.