From 196c91703c573139d19535f39f64d3666236ad34 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 3 Jul 2006 21:38:43 +0000 Subject: [PATCH] add uint32 typedef --- include/sigar.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/sigar.h b/include/sigar.h index d96a1a21..22cea9b1 100644 --- a/include/sigar.h +++ b/include/sigar.h @@ -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