add uint32 typedef

This commit is contained in:
Doug MacEachern 2006-07-03 21:38:43 +00:00
parent 1dfae602a6
commit 196c91703c
1 changed files with 6 additions and 0 deletions

View File

@ -11,14 +11,20 @@ extern "C" {
#if defined(WIN32)
typedef unsigned __int32 sigar_uint32_t;
typedef unsigned __int64 sigar_uint64_t;
#elif ULONG_MAX > 4294967295UL
typedef unsigned int sigar_uint32_t;
typedef unsigned long sigar_uint64_t;
#else
typedef unsigned int sigar_uint32_t;
typedef unsigned long long sigar_uint64_t;
#endif