43#if defined(__GNUC__) && \
44 (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) || \
45 defined(__SUNPRO_C) && __SUNPRO_C >= 0x590
46#define INTERNAL __attribute__ ((visibility("hidden")))
48#define PCSC_API __attribute__ ((visibility("default")))
50#elif defined(__SUNPRO_C) && __SUNPRO_C >= 0x550
52#define INTERNAL __hidden
53#define PCSC_API __global
58#define EXTERNAL PCSC_API
63#define CONSTRUCTOR __attribute__ ((constructor))
64#define DESTRUCTOR __attribute__ ((destructor))
80#define min(a,b) (((a) < (b)) ? (a) : (b))
84#define COUNT_OF(arr) (sizeof(arr)/sizeof(arr[0]))