hdf5inc.h

00001 /*
00002   HDF5 include file, use this instead of hdf5.h 
00003  */
00004 
00005 #ifndef __F5_HDF5INC_H
00006 #define __F5_HDF5INC_H
00007 
00008 #define H5_USE_16_API 1
00009 #define H5_USE_16_API_DEFAULT 1
00010 
00011 #if 0
00012 #if ( H5_VERS_MAJOR==1 && H5_VERS_MINOR==8 )
00013 /* switch v1.6.x compatibility API on for version 1.8.x */
00014   #define ssize_t long
00015 #endif
00016 #endif
00017 
00018 #include <hdf5.h>
00019 
00020 #if (H5_VERS_MAJOR < 1)
00021   #if (H5_VERS_MINOR < 6)
00022     #if (H5_VERS_RELEASE < 1)
00023 
00024       #error F5 Library requires at least HDF5 1.6.1 !
00025 
00026       #include </dev/null>
00027 
00028     #endif
00029   #endif
00030 #endif
00031 
00032 #endif /* #define __F5_HDF5INC_H */
00033