Changeset 1756 for trunk/lib/wandio.h


Ignore:
Timestamp:
03/06/12 14:15:17 (15 months ago)
Author:
salcock
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
  • trunk/lib/wandio.h

    r1727 r1756  
    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.