Go to the documentation of this file.
6 #ifndef INCLUDED_OPENEXR_CONFIG_H
7 #define INCLUDED_OPENEXR_CONFIG_H 1
19 #ifndef INCLUDED_OPENEXR_VERSION_H
20 #define OPENEXR_VERSION_MAJOR 3
21 #define OPENEXR_VERSION_MINOR 4
22 #define OPENEXR_VERSION_PATCH 3
23 #define OPENEXR_SOVERSION 33
26 #define OPENEXR_IMATH_SOVERSION
27 #define OPENEXR_IMATH_VERSION_MAJOR 3
28 #define OPENEXR_IMATH_VERSION_MINOR 2
29 #define OPENEXR_IMATH_VERSION_PATCH 2
31 #define OPENEXR_OPENJPH_VERSION_MAJOR 0
32 #define OPENEXR_OPENJPH_VERSION_MINOR 24
33 #define OPENEXR_OPENJPH_VERSION_PATCH 5
55 #define OPENEXR_IMF_INTERNAL_NAMESPACE_CUSTOM 1
56 #define OPENEXR_IMF_INTERNAL_NAMESPACE Imf_3_4_sidefx
62 #define OPENEXR_IMF_NAMESPACE_CUSTOM 1
63 #define OPENEXR_IMF_NAMESPACE Imf
69 #define OPENEXR_VERSION_STRING "3.4.3"
70 #define OPENEXR_PACKAGE_STRING "OpenEXR 3.4.3"
72 #define OPENEXR_VERSION_RELEASE_TYPE ""
74 #define OPENEXR_VERSION_EXTRA ""
76 #define OPENEXR_LIB_VERSION_STRING "33.3.4.3"
81 #define OPENEXR_VERSION_HEX \
82 (((OPENEXR_VERSION_MAJOR) << 24) | \
83 ((OPENEXR_VERSION_MINOR) << 16) | \
84 ((OPENEXR_VERSION_PATCH) << 8))
88 #ifndef __has_attribute
89 # define __has_attribute(x) 0
94 #define OPENEXR_ENABLE_API_VISIBILITY
128 #if defined(OPENEXR_ENABLE_API_VISIBILITY) && \
129 !(defined(OPENEXR_DLL) || defined(_MSC_VER))
130 # define OPENEXR_PUBLIC_SYMBOL_ATTRIBUTE \
131 __attribute__ ((__visibility__ ("default")))
132 # define OPENEXR_PRIVATE_SYMBOL_ATTRIBUTE \
133 __attribute__ ((__visibility__ ("hidden")))
138 # if __has_attribute(__type_visibility__)
139 # define OPENEXR_PUBLIC_TYPE_VISIBILITY_ATTRIBUTE \
140 __attribute__ ((__type_visibility__ ("default")))
144 # define OPENEXR_EXPORT OPENEXR_PUBLIC_SYMBOL_ATTRIBUTE
145 # define OPENEXR_HIDDEN OPENEXR_PRIVATE_SYMBOL_ATTRIBUTE
149 # define OPENEXR_EXPORT_TYPE OPENEXR_EXPORT
150 # define OPENEXR_EXPORT_EXTERN_TEMPLATE OPENEXR_EXPORT
152 # ifdef OPENEXR_PUBLIC_TYPE_VISIBILITY_ATTRIBUTE
153 # define OPENEXR_EXPORT_ENUM OPENEXR_PUBLIC_TYPE_VISIBILITY_ATTRIBUTE
154 # define OPENEXR_EXPORT_TEMPLATE_TYPE \
155 OPENEXR_PUBLIC_TYPE_VISIBILITY_ATTRIBUTE
160 # define OPENEXR_EXPORT_TEMPLATE_INSTANCE OPENEXR_EXPORT
162 # define OPENEXR_EXPORT_ENUM
163 # define OPENEXR_EXPORT_TEMPLATE_TYPE OPENEXR_EXPORT
164 # define OPENEXR_EXPORT_TEMPLATE_INSTANCE
167 #else // msvc or api visibility disabled, just clear all this out (DLLs will define a set anyway)
169 # define OPENEXR_EXPORT
170 # define OPENEXR_HIDDEN
171 # define OPENEXR_EXPORT_TYPE
172 # define OPENEXR_EXPORT_EXTERN_TEMPLATE
173 # define OPENEXR_EXPORT_ENUM
174 # define OPENEXR_EXPORT_TEMPLATE_TYPE
175 # define OPENEXR_EXPORT_TYPE
176 # define OPENEXR_EXPORT_TEMPLATE_INSTANCE
180 #if defined(__cplusplus) && (__cplusplus >= 201402L)
181 # define OPENEXR_DEPRECATED(msg) [[deprecated (msg)]]
184 #ifndef OPENEXR_DEPRECATED
186 # define OPENEXR_DEPRECATED(msg) __declspec(deprecated (msg))
188 # define OPENEXR_DEPRECATED(msg) __attribute__ ((deprecated (msg)))
192 #endif // INCLUDED_OPENEXR_CONFIG_H