00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef __local_h__
00013 #define __local_h__
00014
00015 #ifdef __cplusplus
00016 extern "C"
00017 {
00018 #endif
00019
00020
00021
00022
00023
00024
00025
00026
00027 #if defined __GNUC__
00028 #define INTERNAL __attribute__ ((visibility("hidden")))
00029 #define PCSC_API __attribute__ ((visibility("default")))
00030
00031 #elif defined __SUNPRO_C
00032 #define INTERNAL __hidden
00033 #define PCSC_API
00034 #else
00035 #define INTERNAL
00036 #define PCSC_API
00037 #endif
00038
00039 #if defined __GNUC__
00040
00041
00042 #define CONSTRUCTOR __attribute__ ((constructor))
00043 #define DESTRUCTOR __attribute__ ((destructor))
00044
00045 #else
00046
00047
00048
00049
00050
00051
00052
00053 #define CONSTRUCTOR
00054 #define DESTRUCTOR
00055
00056 #endif
00057
00058 #ifdef __cplusplus
00059 }
00060 #endif
00061
00062 #endif