Go to the documentation of this file.
6 #ifndef INCLUDED_IMFEXPORT_H
7 #define INCLUDED_IMFEXPORT_H
15 #if defined(OPENEXR_DLL)
20 # if defined(OPENEXR_EXPORTS)
21 # define IMF_EXPORT __declspec(dllexport)
24 # if defined(__MINGW32__)
25 # define IMF_EXPORT_EXTERN_TEMPLATE IMF_EXPORT
26 # define IMF_EXPORT_TEMPLATE_INSTANCE
30 # define IMF_EXPORT_TEMPLATE_TYPE IMF_EXPORT
34 # define IMF_EXPORT_EXTERN_TEMPLATE
35 # define IMF_EXPORT_TEMPLATE_INSTANCE IMF_EXPORT
36 # define IMF_EXPORT_TEMPLATE_TYPE
39 # else // OPENEXR_EXPORTS
40 # define IMF_EXPORT __declspec(dllimport)
41 # define IMF_EXPORT_EXTERN_TEMPLATE IMF_EXPORT
42 # define IMF_EXPORT_TEMPLATE_INSTANCE
43 # define IMF_EXPORT_TEMPLATE_TYPE
47 # define IMF_EXPORT_TYPE
48 # define IMF_EXPORT_ENUM
51 #else // not an OPENEXR_DLL
54 # define IMF_EXPORT OPENEXR_EXPORT
55 # define IMF_HIDDEN OPENEXR_HIDDEN
56 # define IMF_EXPORT_ENUM OPENEXR_EXPORT_ENUM
57 # define IMF_EXPORT_TYPE OPENEXR_EXPORT_TYPE
58 # define IMF_EXPORT_TEMPLATE_TYPE OPENEXR_EXPORT_TEMPLATE_TYPE
59 # define IMF_EXPORT_EXTERN_TEMPLATE OPENEXR_EXPORT_EXTERN_TEMPLATE
60 # define IMF_EXPORT_TEMPLATE_INSTANCE OPENEXR_EXPORT_TEMPLATE_INSTANCE
66 #endif // INCLUDED_IMFEXPORT_H