Back to index

salome-med  6.5.0
hdf5_version2api.hxx
Go to the documentation of this file.
00001 #ifndef _hdf5_version2api_hxx_
00002 #define _hdf5_version2api_hxx_
00003 
00004 #include <H5public.h>
00005 
00006 #if H5_VERS_MAJOR < 1
00007 #elif H5_VERS_MAJOR == 1
00008 
00009 #if H5_VERS_MINOR < 6
00010 #elif H5_VERS_MINOR == 6
00011 
00012 #if H5_VERS_RELEASE < 4
00013 #else
00014 #if H5_VERS_RELEASE >= 7
00015 #define HDF_NEW_API2
00016 #define HDF_NEW_API
00017 #else
00018 #define HDF_NEW_API
00019 #endif
00020 #endif
00021 
00022 #else /* H5_VERS_MINOR >= 7 */
00023 #define HDF_NEW_API2
00024 #define HDF_NEW_API
00025 #endif /* H5_VERS_MINOR */
00026 
00027 #else /* H5_VERS_MAJOR >= 2 */
00028 #define HDF_NEW_API2
00029 #define HDF_NEW_API
00030 #endif /* H5_VERS_MAJOR */
00031 
00032 #endif