mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r13252] Moved definition of uint32_t from H5private.h to H5public.h, since it's now
used in H5Opublic.h. This should fix build errors on Windows. Tested on kagiso; will test on Windows immediately after checkin.
This commit is contained in:
parent
0261510037
commit
4c62c0aa8a
@ -411,22 +411,7 @@
|
||||
# error "nothing appropriate for int32_t"
|
||||
#endif
|
||||
|
||||
#if H5_SIZEOF_UINT32_T>=4
|
||||
#elif H5_SIZEOF_SHORT>=4
|
||||
typedef short uint32_t;
|
||||
# undef H5_SIZEOF_UINT32_T
|
||||
# define H5_SIZEOF_UINT32_T H5_SIZEOF_SHORT
|
||||
#elif H5_SIZEOF_INT>=4
|
||||
typedef unsigned int uint32_t;
|
||||
# undef H5_SIZEOF_UINT32_T
|
||||
# define H5_SIZEOF_UINT32_T H5_SIZEOF_INT
|
||||
#elif H5_SIZEOF_LONG>=4
|
||||
typedef unsigned long uint32_t;
|
||||
# undef H5_SIZEOF_UINT32_T
|
||||
# define H5_SIZEOF_UINT32_T H5_SIZEOF_LONG
|
||||
#else
|
||||
# error "nothing appropriate for uint32_t"
|
||||
#endif
|
||||
/* Definition of uint32_t was moved to H5public.h */
|
||||
|
||||
/* Definition of int64_t was moved to H5public.h */
|
||||
/* Definition of uint64_t was moved to H5public.h */
|
||||
|
@ -207,6 +207,26 @@ typedef ssize_t hssize_t;
|
||||
#endif
|
||||
#define HADDR_MAX (HADDR_UNDEF-1)
|
||||
|
||||
/* uint32_t type is used for creation order field for messages. It may be
|
||||
* defined in Posix.1g, otherwise it is defined here.
|
||||
*/
|
||||
#if H5_SIZEOF_UINT32_T>=4
|
||||
#elif H5_SIZEOF_SHORT>=4
|
||||
typedef short uint32_t;
|
||||
# undef H5_SIZEOF_UINT32_T
|
||||
# define H5_SIZEOF_UINT32_T H5_SIZEOF_SHORT
|
||||
#elif H5_SIZEOF_INT>=4
|
||||
typedef unsigned int uint32_t;
|
||||
# undef H5_SIZEOF_UINT32_T
|
||||
# define H5_SIZEOF_UINT32_T H5_SIZEOF_INT
|
||||
#elif H5_SIZEOF_LONG>=4
|
||||
typedef unsigned long uint32_t;
|
||||
# undef H5_SIZEOF_UINT32_T
|
||||
# define H5_SIZEOF_UINT32_T H5_SIZEOF_LONG
|
||||
#else
|
||||
# error "nothing appropriate for uint32_t"
|
||||
#endif
|
||||
|
||||
/* int64_t type is used for creation order field for links. It may be
|
||||
* defined in Posix.1g, otherwise it is defined here.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user