Go to the documentation of this file.
47 #if defined(_WIN32) || defined(__CYGWIN__)
48 # ifdef OIIO_STATIC_DEFINE
52 # define OIIO_IMPORT __declspec(dllimport)
53 # define OIIO_EXPORT __declspec(dllexport)
57 # define OIIO_IMPORT __attribute__((visibility("default")))
58 # define OIIO_EXPORT __attribute__((visibility("default")))
59 # define OIIO_LOCAL __attribute__((visibility("hidden")))
62 #if defined(OpenImageIO_EXPORTS) || defined(OpenImageIO_Util_EXPORTS)
63 # define OIIO_API OIIO_EXPORT
65 # define OIIO_API OIIO_IMPORT