
#ifndef TILEDB_EXPORT_H
#define TILEDB_EXPORT_H

#ifdef TILEDB_STATIC_DEFINE
#  define TILEDB_EXPORT
#  define TILEDB_NO_EXPORT
#else
#  ifndef TILEDB_EXPORT
#    ifdef tiledb_EXPORTS
        /* We are building this library */
#      define TILEDB_EXPORT __attribute__((visibility("default")))
#    else
        /* We are using this library */
#      define TILEDB_EXPORT __attribute__((visibility("default")))
#    endif
#  endif

#  ifndef TILEDB_NO_EXPORT
#    define TILEDB_NO_EXPORT __attribute__((visibility("hidden")))
#  endif
#endif

#ifndef TILEDB_DEPRECATED
#  define TILEDB_DEPRECATED __attribute__ ((__deprecated__))
#endif

#ifndef TILEDB_DEPRECATED_EXPORT
#  define TILEDB_DEPRECATED_EXPORT TILEDB_EXPORT TILEDB_DEPRECATED
#endif

#ifndef TILEDB_DEPRECATED_NO_EXPORT
#  define TILEDB_DEPRECATED_NO_EXPORT TILEDB_NO_EXPORT TILEDB_DEPRECATED
#endif

#if 0 /* DEFINE_NO_DEPRECATED */
#  ifndef TILEDB_NO_DEPRECATED
#    define TILEDB_NO_DEPRECATED
#  endif
#endif

#endif /* TILEDB_EXPORT_H */
