17 #ifndef LIBCOUCHBASE_VISIBILITY_H
18 #define LIBCOUCHBASE_VISIBILITY_H
20 #ifdef LIBCOUCHBASE_STATIC
21 #define LIBCOUCHBASE_API
24 #ifdef LIBCOUCHBASE_INTERNAL
27 #define LIBCOUCHBASE_API __global
28 #elif defined(HAVE_VISIBILITY) && HAVE_VISIBILITY
29 #define LIBCOUCHBASE_API __attribute__ ((visibility("default")))
30 #elif defined(_MSC_VER)
31 #define LIBCOUCHBASE_API extern __declspec(dllexport)
33 #define LIBCOUCHBASE_API
39 #define LIBCOUCHBASE_API extern __declspec(dllimport)
41 #define LIBCOUCHBASE_API
52 #define LCB_INTERNAL_API LIBCOUCHBASE_API