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)
63 # define OIIO_API OIIO_EXPORT
65 # define OIIO_API OIIO_IMPORT
68 #if defined(OpenImageIO_Util_EXPORTS)
69 # define OIIO_UTIL_API OIIO_EXPORT
71 # define OIIO_UTIL_API OIIO_IMPORT
74 #if defined(OpenImageIO_C_EXPORTS)
75 # define OIIOC_API OIIO_EXPORT
77 # define OIIOC_API OIIO_IMPORT