diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-10 02:45:11 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-10 02:45:11 (GMT) |
commit | 15691f8827f4f7b5c3badd6094af7911731886b4 (patch) | |
tree | 7b02572b2f3eea854c1228ad8ce8ca2fb8ca860d /c++/src/H5PredType.h | |
parent | 85fc6fab21e8a932a4c5e129b1ddda7dc7fcd701 (diff) | |
download | hdf5-15691f8827f4f7b5c3badd6094af7911731886b4.zip hdf5-15691f8827f4f7b5c3badd6094af7911731886b4.tar.gz hdf5-15691f8827f4f7b5c3badd6094af7911731886b4.tar.bz2 |
[svn-r12216] Purpose:
Code cleanup
Description:
Clean up some runtime errors from unsupported C99 types on Solaris 2.9
by wrapping them with ifdef's.
Platforms tested:
FreeBSD 4.11 (sleipnir)
Linux 2.4 32-bit (heping)
Linux 2.4 64-bit (mir)
Solaris 2.9 (shanti)
Misc. update:
Diffstat (limited to 'c++/src/H5PredType.h')
-rw-r--r-- | c++/src/H5PredType.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/c++/src/H5PredType.h b/c++/src/H5PredType.h index c0f3cd1..84ca716 100644 --- a/c++/src/H5PredType.h +++ b/c++/src/H5PredType.h @@ -152,29 +152,45 @@ class H5_DLLCPP PredType : public AtomType { static const PredType NATIVE_INT8; static const PredType NATIVE_UINT8; +#if H5_SIZEOF_INT_LEAST8_T != 0 static const PredType NATIVE_INT_LEAST8; +#endif /* H5_SIZEOF_INT_LEAST8_T */ +#if H5_SIZEOF_UINT_LEAST8_T != 0 static const PredType NATIVE_UINT_LEAST8; +#endif /* H5_SIZEOF_UINT_LEAST8_T */ //static const PredType NATIVE_INT_FAST8; //static const PredType NATIVE_UINT_FAST8; static const PredType NATIVE_INT16; static const PredType NATIVE_UINT16; +#if H5_SIZEOF_INT_LEAST16_T != 0 static const PredType NATIVE_INT_LEAST16; +#endif /* H5_SIZEOF_INT_LEAST16_T */ +#if H5_SIZEOF_UINT_LEAST16_T != 0 static const PredType NATIVE_UINT_LEAST16; +#endif /* H5_SIZEOF_UINT_LEAST16_T */ //static const PredType NATIVE_INT_FAST16; //static const PredType NATIVE_UINT_FAST16; static const PredType NATIVE_INT32; static const PredType NATIVE_UINT32; +#if H5_SIZEOF_INT_LEAST32_T != 0 static const PredType NATIVE_INT_LEAST32; +#endif /* H5_SIZEOF_INT_LEAST32_T */ +#if H5_SIZEOF_UINT_LEAST32_T != 0 static const PredType NATIVE_UINT_LEAST32; +#endif /* H5_SIZEOF_UINT_LEAST32_T */ //static const PredType NATIVE_INT_FAST32; //static const PredType NATIVE_UINT_FAST32; static const PredType NATIVE_INT64; static const PredType NATIVE_UINT64; +#if H5_SIZEOF_INT_LEAST64_T != 0 static const PredType NATIVE_INT_LEAST64; +#endif /* H5_SIZEOF_INT_LEAST64_T */ +#if H5_SIZEOF_UINT_LEAST64_T != 0 static const PredType NATIVE_UINT_LEAST64; +#endif /* H5_SIZEOF_UINT_LEAST64_T */ //static const PredType NATIVE_INT_FAST64; //static const PredType NATIVE_UINT_FAST64; |