Go to the documentation of this file.
6 #ifndef INCLUDED_OPENEXR_CONFIG_H
7 #define INCLUDED_OPENEXR_CONFIG_H 1
28 #define OPENEXR_IMF_INTERNAL_NAMESPACE_CUSTOM 1
29 #define OPENEXR_IMF_INTERNAL_NAMESPACE Imf_3_1_sidefx
35 #define OPENEXR_IMF_NAMESPACE_CUSTOM 1
36 #define OPENEXR_IMF_NAMESPACE Imf
42 #define OPENEXR_VERSION_STRING "3.1.6"
43 #define OPENEXR_PACKAGE_STRING "OpenEXR 3.1.6"
45 #define OPENEXR_VERSION_MAJOR 3
46 #define OPENEXR_VERSION_MINOR 1
47 #define OPENEXR_VERSION_PATCH 6
48 #define OPENEXR_VERSION_RELEASE_TYPE ""
50 #define OPENEXR_VERSION_EXTRA ""
52 #define OPENEXR_LIB_VERSION_STRING "30.6.1"
55 #define OPENEXR_VERSION_HEX ((uint32_t(OPENEXR_VERSION_MAJOR) << 24) | \
56 (uint32_t(OPENEXR_VERSION_MINOR) << 16) | \
57 (uint32_t(OPENEXR_VERSION_PATCH) << 8))
62 #ifndef __has_attribute
63 # define __has_attribute(x) 0
69 #define OPENEXR_ENABLE_API_VISIBILITY
103 #if defined(OPENEXR_ENABLE_API_VISIBILITY) && ! ( defined(OPENEXR_DLL) || defined(_MSC_VER) )
104 # define OPENEXR_PUBLIC_SYMBOL_ATTRIBUTE __attribute__ ((__visibility__ ("default")))
105 # define OPENEXR_PRIVATE_SYMBOL_ATTRIBUTE __attribute__ ((__visibility__ ("hidden")))
110 # if __has_attribute(__type_visibility__)
111 # define OPENEXR_PUBLIC_TYPE_VISIBILITY_ATTRIBUTE __attribute__ ((__type_visibility__ ("default")))
115 # define OPENEXR_EXPORT OPENEXR_PUBLIC_SYMBOL_ATTRIBUTE
116 # define OPENEXR_HIDDEN OPENEXR_PRIVATE_SYMBOL_ATTRIBUTE
120 # define OPENEXR_EXPORT_TYPE OPENEXR_EXPORT
121 # define OPENEXR_EXPORT_EXTERN_TEMPLATE OPENEXR_EXPORT
123 # ifdef OPENEXR_PUBLIC_TYPE_VISIBILITY_ATTRIBUTE
124 # define OPENEXR_EXPORT_ENUM OPENEXR_PUBLIC_TYPE_VISIBILITY_ATTRIBUTE
125 # define OPENEXR_EXPORT_TEMPLATE_TYPE OPENEXR_PUBLIC_TYPE_VISIBILITY_ATTRIBUTE
130 # define OPENEXR_EXPORT_TEMPLATE_INSTANCE OPENEXR_EXPORT
132 # define OPENEXR_EXPORT_ENUM
133 # define OPENEXR_EXPORT_TEMPLATE_TYPE OPENEXR_EXPORT
134 # define OPENEXR_EXPORT_TEMPLATE_INSTANCE
137 #else // msvc or api visibility disabled, just clear all this out (DLLs will define a set anyway)
139 # define OPENEXR_EXPORT
140 # define OPENEXR_HIDDEN
141 # define OPENEXR_EXPORT_TYPE
142 # define OPENEXR_EXPORT_EXTERN_TEMPLATE
143 # define OPENEXR_EXPORT_ENUM
144 # define OPENEXR_EXPORT_TEMPLATE_TYPE
145 # define OPENEXR_EXPORT_TYPE
146 # define OPENEXR_EXPORT_TEMPLATE_INSTANCE
150 #if defined(__cplusplus) && (__cplusplus >= 201402L)
151 # define OPENEXR_DEPRECATED(msg) [[deprecated(msg)]]
154 #ifndef OPENEXR_DEPRECATED
156 # define OPENEXR_DEPRECATED(msg) __declspec(deprecated(msg))
158 # define OPENEXR_DEPRECATED(msg) __attribute__((deprecated(msg)))
162 #endif // INCLUDED_OPENEXR_CONFIG_H