Go to the documentation of this file.
6 #ifndef INCLUDED_IMFUTILEXPORT_H
7 #define INCLUDED_IMFUTILEXPORT_H
15 #if defined(OPENEXR_DLL)
17 # if defined(OPENEXRUTIL_EXPORTS)
18 # define IMFUTIL_EXPORT __declspec(dllexport)
21 # if defined(__MINGW32__)
22 # define IMFUTIL_EXPORT_EXTERN_TEMPLATE IMFUTIL_EXPORT
23 # define IMFUTIL_EXPORT_TEMPLATE_INSTANCE
27 # define IMFUTIL_EXPORT_TEMPLATE_TYPE IMFUTIL_EXPORT
31 # define IMFUTIL_EXPORT_EXTERN_TEMPLATE
32 # define IMFUTIL_EXPORT_TEMPLATE_INSTANCE IMFUTIL_EXPORT
33 # define IMFUTIL_EXPORT_TEMPLATE_TYPE
36 # else // OPENEXRUTIL_EXPORTS
37 # define IMFUTIL_EXPORT __declspec(dllimport)
38 # define IMFUTIL_EXPORT_EXTERN_TEMPLATE IMFUTIL_EXPORT
39 # define IMFUTIL_EXPORT_TEMPLATE_INSTANCE
40 # define IMFUTIL_EXPORT_TEMPLATE_TYPE
44 # define IMFUTIL_EXPORT_TYPE
45 # define IMFUTIL_EXPORT_ENUM
46 # define IMFUTIL_HIDDEN
48 #else // not an OPENEXR_DLL
51 # define IMFUTIL_EXPORT OPENEXR_EXPORT
52 # define IMFUTIL_HIDDEN OPENEXR_HIDDEN
53 # define IMFUTIL_EXPORT_ENUM OPENEXR_EXPORT_ENUM
54 # define IMFUTIL_EXPORT_TYPE OPENEXR_EXPORT_TYPE
55 # define IMFUTIL_EXPORT_TEMPLATE_TYPE OPENEXR_EXPORT_TEMPLATE_TYPE
56 # define IMFUTIL_EXPORT_EXTERN_TEMPLATE OPENEXR_EXPORT_EXTERN_TEMPLATE
57 # define IMFUTIL_EXPORT_TEMPLATE_INSTANCE OPENEXR_EXPORT_TEMPLATE_INSTANCE
63 #endif // INCLUDED_IMFUTILEXPORT_H