00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00016 #ifndef __GEARMAN_VISIBILITY_H
00017 #define __GEARMAN_VISIBILITY_H
00018
00027 #if defined(BUILDING_LIBGEARMAN)
00028 # if defined(HAVE_VISIBILITY)
00029 # define GEARMAN_API __attribute__ ((visibility("default")))
00030 # define GEARMAN_LOCAL __attribute__ ((visibility("hidden")))
00031 # elif defined(_MSC_VER)
00032 # define GEARMAN_API extern __declspec(dllexport)
00033 # define GEARMAN_LOCAL
00034 # endif
00035 #else
00036 # if defined(_MSC_VER)
00037 # define GEARMAN_API extern __declspec(dllimport)
00038 # define GEARMAN_LOCAL
00039 # else
00040 # define GEARMAN_API
00041 # define GEARMAN_LOCAL
00042 # endif
00043 #endif
00044
00045 #endif