43 #if defined __GNUC__ && (! defined (__sun)) && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3))
44 #define INTERNAL __attribute__ ((visibility("hidden")))
45 #define PCSC_API __attribute__ ((visibility("default")))
46 #elif (! defined __GNUC__ ) && defined (__sun)
48 #define INTERNAL __hidden
49 #define PCSC_API __global
54 #define EXTERNAL PCSC_API
59 #define CONSTRUCTOR __attribute__ ((constructor))
60 #define DESTRUCTOR __attribute__ ((destructor))
76 #define min(a,b) (((a) < (b)) ? (a) : (b))
80 #define COUNT_OF(arr) (sizeof(arr)/sizeof(arr[0]))