00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00018 #ifndef __DRIZZLE_VISIBILITY_H
00019 #define __DRIZZLE_VISIBILITY_H
00020
00029 #if defined(BUILDING_LIBDRIZZLE)
00030 # if defined(HAVE_VISIBILITY)
00031 # define DRIZZLE_API __attribute__ ((visibility("default")))
00032 # define DRIZZLE_LOCAL __attribute__ ((visibility("hidden")))
00033 # elif defined(_MSC_VER)
00034 # define DRIZZLE_API extern __declspec(dllexport)
00035 # define DRIZZLE_LOCAL
00036 # endif
00037 #else
00038 # if defined(_MSC_VER)
00039 # define DRIZZLE_API extern __declspec(dllimport)
00040 # define DRIZZLE_LOCAL
00041 # else
00042 # define DRIZZLE_API
00043 # define DRIZZLE_LOCAL
00044 # endif
00045 #endif
00046
00047 #endif