libdrizzle Developer Documentation
Go to the documentation of this file.
18 #ifndef __DRIZZLE_VISIBILITY_H
19 #define __DRIZZLE_VISIBILITY_H
29 #if defined(BUILDING_LIBDRIZZLE)
30 # if defined(HAVE_VISIBILITY)
31 # define DRIZZLE_API __attribute__ ((visibility("default")))
32 # define DRIZZLE_LOCAL __attribute__ ((visibility("hidden")))
33 # elif defined (__SUNPRO_C) && (__SUNPRO_C >= 0x550)
34 # define DRIZZLE_API __global
35 # define DRIZZLE_API __hidden
36 # elif defined(_MSC_VER)
37 # define DRIZZLE_API extern __declspec(dllexport)
38 # define DRIZZLE_LOCAL
41 # if defined(_MSC_VER)
42 # define DRIZZLE_API extern __declspec(dllimport)
43 # define DRIZZLE_LOCAL
46 # define DRIZZLE_LOCAL