mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[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:
parent
85481daf07
commit
fd7fb6eff2
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user