[svn-r19374] [BZ1938] - VS2010 on windows requires stdint.h to compile C++ library. CMake will check if c++ compiler supports stdint.h and set the H5_HAVE_STDINT_H_CXX define.

Tested: windows and local linux
This commit is contained in:
Allen Byrne 2010-09-13 10:41:23 -05:00
parent 85481daf07
commit fd7fb6eff2

View File

@ -46,6 +46,10 @@
# ifdef H5_HAVE_STDINT_H
# include <stdint.h> /*for C9x types */
# endif
#else
# ifdef H5_HAVE_STDINT_H_CXX
# include <stdint.h> /*for C9x types when include from C++ */
# endif
#endif
#ifdef H5_HAVE_INTTYPES_H
# include <inttypes.h> /* For uint64_t on some platforms */