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
@ -43,9 +43,13 @@
|
|||||||
# include <limits.h> /*for H5T_NATIVE_CHAR defn in H5Tpublic.h */
|
# include <limits.h> /*for H5T_NATIVE_CHAR defn in H5Tpublic.h */
|
||||||
#endif
|
#endif
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
#ifdef H5_HAVE_STDINT_H
|
# ifdef H5_HAVE_STDINT_H
|
||||||
# include <stdint.h> /*for C9x types */
|
# include <stdint.h> /*for C9x types */
|
||||||
#endif
|
# endif
|
||||||
|
#else
|
||||||
|
# ifdef H5_HAVE_STDINT_H_CXX
|
||||||
|
# include <stdint.h> /*for C9x types when include from C++ */
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef H5_HAVE_INTTYPES_H
|
#ifdef H5_HAVE_INTTYPES_H
|
||||||
# include <inttypes.h> /* For uint64_t on some platforms */
|
# include <inttypes.h> /* For uint64_t on some platforms */
|
||||||
|
Loading…
Reference in New Issue
Block a user