From 60e239f461c2e6abafea0b6edac4d254e388fc8d Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 9 Apr 2008 23:29:46 +0000 Subject: [PATCH] use standard iptypes.h in modern msvc --- src/os/win32/sigar_os.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/os/win32/sigar_os.h b/src/os/win32/sigar_os.h index de626e53..155d174a 100644 --- a/src/os/win32/sigar_os.h +++ b/src/os/win32/sigar_os.h @@ -67,8 +67,12 @@ static __inline sigar_uint64_t FileTimeToTime(FILETIME *ft) lpw, -1, (LPSTR)lpa, chars, \ NULL, NULL)) +#ifdef SIGAR_USING_MSC6 /* iptypes.h from vc7, not available in vc6 */ #include "msvc_iptypes.h" +#else +#include "iptypes.h" +#endif /* from wtsapi32.h not in vs6.0 */ typedef enum {