Go to the documentation of this file.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(_WIN32)
00030 # define DRIZZLE_API
00031 # define DRIZZLE_LOCAL
00032 #else
00033 #if defined(BUILDING_LIBDRIZZLE)
00034 # if defined(HAVE_VISIBILITY)
00035 # define DRIZZLE_API __attribute__ ((visibility("default")))
00036 # define DRIZZLE_LOCAL __attribute__ ((visibility("hidden")))
00037 # elif defined (__SUNPRO_C) && (__SUNPRO_C >= 0x550)
00038 # define DRIZZLE_API __global
00039 # define DRIZZLE_API __hidden
00040 # elif defined(_MSC_VER)
00041 # define DRIZZLE_API extern __declspec(dllexport)
00042 # define DRIZZLE_LOCAL
00043 # endif
00044 #else
00045 # if defined(_MSC_VER)
00046 # define DRIZZLE_API extern __declspec(dllimport)
00047 # define DRIZZLE_LOCAL
00048 # else
00049 # define DRIZZLE_API
00050 # define DRIZZLE_LOCAL
00051 # endif
00052 #endif
00053 #endif
00054
00055 #endif