File indexing completed on 2025-04-18 09:16:01
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef H5API_ADPT_H
0018 #define H5API_ADPT_H
0019
0020
0021 #ifdef H5_BUILT_AS_DYNAMIC_LIB
0022
0023 #if defined(hdf5_shared_EXPORTS)
0024 #if defined(_MSC_VER)
0025 #define H5_DLL __declspec(dllexport)
0026 #define H5_DLLVAR extern __declspec(dllexport)
0027 #elif (__GNUC__ >= 4)
0028 #define H5_DLL __attribute__((visibility("default")))
0029 #define H5_DLLVAR extern __attribute__((visibility("default")))
0030 #endif
0031 #else
0032 #if defined(_MSC_VER)
0033 #define H5_DLL __declspec(dllimport)
0034 #define H5_DLLVAR __declspec(dllimport)
0035 #elif (__GNUC__ >= 4)
0036 #define H5_DLL __attribute__((visibility("default")))
0037 #define H5_DLLVAR extern __attribute__((visibility("default")))
0038 #endif
0039 #endif
0040
0041 #ifndef H5_DLL
0042 #define H5_DLL
0043 #define H5_DLLVAR extern
0044 #endif
0045
0046 #if defined(hdf5_test_shared_EXPORTS)
0047 #if defined(_MSC_VER)
0048 #define H5TEST_DLL __declspec(dllexport)
0049 #define H5TEST_DLLVAR extern __declspec(dllexport)
0050 #elif (__GNUC__ >= 4)
0051 #define H5TEST_DLL __attribute__((visibility("default")))
0052 #define H5TEST_DLLVAR extern __attribute__((visibility("default")))
0053 #endif
0054 #else
0055 #if defined(_MSC_VER)
0056 #define H5TEST_DLL __declspec(dllimport)
0057 #define H5TEST_DLLVAR __declspec(dllimport)
0058 #elif (__GNUC__ >= 4)
0059 #define H5TEST_DLL __attribute__((visibility("default")))
0060 #define H5TEST_DLLVAR extern __attribute__((visibility("default")))
0061 #endif
0062 #endif
0063
0064 #ifndef H5TEST_DLL
0065 #define H5TEST_DLL
0066 #define H5TEST_DLLVAR extern
0067 #endif
0068
0069 #if defined(hdf5_tools_shared_EXPORTS)
0070 #if defined(_MSC_VER)
0071 #define H5TOOLS_DLL __declspec(dllexport)
0072 #define H5TOOLS_DLLVAR extern __declspec(dllexport)
0073 #elif (__GNUC__ >= 4)
0074 #define H5TOOLS_DLL __attribute__((visibility("default")))
0075 #define H5TOOLS_DLLVAR extern __attribute__((visibility("default")))
0076 #endif
0077 #else
0078 #if defined(_MSC_VER)
0079 #define H5TOOLS_DLL __declspec(dllimport)
0080 #define H5TOOLS_DLLVAR __declspec(dllimport)
0081 #elif (__GNUC__ >= 4)
0082 #define H5TOOLS_DLL __attribute__((visibility("default")))
0083 #define H5TOOLS_DLLVAR extern __attribute__((visibility("default")))
0084 #endif
0085 #endif
0086
0087 #ifndef H5TOOLS_DLL
0088 #define H5TOOLS_DLL
0089 #define H5TOOLS_DLLVAR extern
0090 #endif
0091
0092 #if defined(hdf5_cpp_shared_EXPORTS)
0093 #if defined(_MSC_VER)
0094 #define H5_DLLCPP __declspec(dllexport)
0095 #define H5_DLLCPPVAR extern __declspec(dllexport)
0096 #elif (__GNUC__ >= 4)
0097 #define H5_DLLCPP __attribute__((visibility("default")))
0098 #define H5_DLLCPPVAR extern __attribute__((visibility("default")))
0099 #endif
0100 #else
0101 #if defined(_MSC_VER)
0102 #define H5_DLLCPP __declspec(dllimport)
0103 #define H5_DLLCPPVAR __declspec(dllimport)
0104 #elif (__GNUC__ >= 4)
0105 #define H5_DLLCPP __attribute__((visibility("default")))
0106 #define H5_DLLCPPVAR extern __attribute__((visibility("default")))
0107 #endif
0108 #endif
0109
0110 #ifndef H5_DLLCPP
0111 #define H5_DLLCPP
0112 #define H5_DLLCPPVAR extern
0113 #endif
0114
0115 #if defined(hdf5_hl_shared_EXPORTS)
0116 #if defined(_MSC_VER)
0117 #define H5_HLDLL __declspec(dllexport)
0118 #define H5_HLDLLVAR extern __declspec(dllexport)
0119 #elif (__GNUC__ >= 4)
0120 #define H5_HLDLL __attribute__((visibility("default")))
0121 #define H5_HLDLLVAR extern __attribute__((visibility("default")))
0122 #endif
0123 #else
0124 #if defined(_MSC_VER)
0125 #define H5_HLDLL __declspec(dllimport)
0126 #define H5_HLDLLVAR __declspec(dllimport)
0127 #elif (__GNUC__ >= 4)
0128 #define H5_HLDLL __attribute__((visibility("default")))
0129 #define H5_HLDLLVAR extern __attribute__((visibility("default")))
0130 #endif
0131 #endif
0132
0133 #ifndef H5_HLDLL
0134 #define H5_HLDLL
0135 #define H5_HLDLLVAR extern
0136 #endif
0137
0138 #if defined(hdf5_hl_cpp_shared_EXPORTS)
0139 #if defined(_MSC_VER)
0140 #define H5_HLCPPDLL __declspec(dllexport)
0141 #define H5_HLCPPDLLVAR extern __declspec(dllexport)
0142 #elif (__GNUC__ >= 4)
0143 #define H5_HLCPPDLL __attribute__((visibility("default")))
0144 #define H5_HLCPPDLLVAR extern __attribute__((visibility("default")))
0145 #endif
0146 #else
0147 #if defined(_MSC_VER)
0148 #define H5_HLCPPDLL __declspec(dllimport)
0149 #define H5_HLCPPDLLVAR __declspec(dllimport)
0150 #elif (__GNUC__ >= 4)
0151 #define H5_HLCPPDLL __attribute__((visibility("default")))
0152 #define H5_HLCPPDLLVAR extern __attribute__((visibility("default")))
0153 #endif
0154 #endif
0155
0156 #ifndef H5_HLCPPDLL
0157 #define H5_HLCPPDLL
0158 #define H5_HLCPPDLLVAR extern
0159 #endif
0160
0161 #if defined(hdf5_f90cstub_shared_EXPORTS)
0162 #if defined(_MSC_VER)
0163 #define H5_FCDLL __declspec(dllexport)
0164 #define H5_FCDLLVAR extern __declspec(dllexport)
0165 #elif (__GNUC__ >= 4)
0166 #define H5_FCDLL __attribute__((visibility("default")))
0167 #define H5_FCDLLVAR extern __attribute__((visibility("default")))
0168 #endif
0169 #else
0170 #if defined(_MSC_VER)
0171 #define H5_FCDLL __declspec(dllimport)
0172 #define H5_FCDLLVAR __declspec(dllimport)
0173 #elif (__GNUC__ >= 4)
0174 #define H5_FCDLL __attribute__((visibility("default")))
0175 #define H5_FCDLLVAR extern __attribute__((visibility("default")))
0176 #endif
0177 #endif
0178
0179 #ifndef H5_FCDLL
0180 #define H5_FCDLL
0181 #define H5_FCDLLVAR extern
0182 #endif
0183
0184 #if defined(hdf5_test_f90cstub_shared_EXPORTS)
0185 #if defined(_MSC_VER)
0186 #define H5_FCTESTDLL __declspec(dllexport)
0187 #define H5_FCTESTDLLVAR extern __declspec(dllexport)
0188 #elif (__GNUC__ >= 4)
0189 #define H5_FCTESTDLL __attribute__((visibility("default")))
0190 #define H5_FCTESTDLLVAR extern __attribute__((visibility("default")))
0191 #endif
0192 #else
0193 #if defined(_MSC_VER)
0194 #define H5_FCTESTDLL __declspec(dllimport)
0195 #define H5_FCTESTDLLVAR __declspec(dllimport)
0196 #elif (__GNUC__ >= 4)
0197 #define H5_FCTESTDLL __attribute__((visibility("default")))
0198 #define H5_FCTESTDLLVAR extern __attribute__((visibility("default")))
0199 #endif
0200 #endif
0201
0202 #ifndef H5_FCTESTDLL
0203 #define H5_FCTESTDLL
0204 #define H5_FCTESTDLLVAR extern
0205 #endif
0206
0207 #if defined(hdf5_hl_f90cstub_shared_EXPORTS)
0208 #if defined(_MSC_VER)
0209 #define HDF5_HL_F90CSTUBDLL __declspec(dllexport)
0210 #define HDF5_HL_F90CSTUBDLLVAR extern __declspec(dllexport)
0211 #elif (__GNUC__ >= 4)
0212 #define HDF5_HL_F90CSTUBDLL __attribute__((visibility("default")))
0213 #define HDF5_HL_F90CSTUBDLLVAR extern __attribute__((visibility("default")))
0214 #endif
0215 #else
0216 #if defined(_MSC_VER)
0217 #define HDF5_HL_F90CSTUBDLL __declspec(dllimport)
0218 #define HDF5_HL_F90CSTUBDLLVAR __declspec(dllimport)
0219 #elif (__GNUC__ >= 4)
0220 #define HDF5_HL_F90CSTUBDLL __attribute__((visibility("default")))
0221 #define HDF5_HL_F90CSTUBDLLVAR extern __attribute__((visibility("default")))
0222 #endif
0223 #endif
0224
0225 #ifndef HDF5_HL_F90CSTUBDLL
0226 #define HDF5_HL_F90CSTUBDLL
0227 #define HDF5_HL_F90CSTUBDLLVAR extern
0228 #endif
0229
0230 #else
0231 #define H5_DLL
0232 #define H5_DLLVAR extern
0233 #define H5TEST_DLL
0234 #define H5TEST_DLLVAR extern
0235 #define H5TOOLS_DLL
0236 #define H5TOOLS_DLLVAR extern
0237 #define H5_DLLCPP
0238 #define H5_DLLCPPVAR extern
0239 #define H5_HLDLL
0240 #define H5_HLDLLVAR extern
0241 #define H5_HLCPPDLL
0242 #define H5_HLCPPDLLVAR extern
0243 #define H5_FCDLL
0244 #define H5_FCDLLVAR extern
0245 #define H5_FCTESTDLL
0246 #define H5_FCTESTDLLVAR extern
0247 #define HDF5_HL_F90CSTUBDLL
0248 #define HDF5_HL_F90CSTUBDLLVAR extern
0249 #endif
0250
0251 #endif