From be7bdafa4504b0d54e7defbbf1d89c4fe7a935d4 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine@gmail.com" Date: Sun, 19 Feb 2012 05:47:54 +0000 Subject: Define uintptr_t for WinCE if necessary (thankfully all MSVC versions seem to define _UINTPTR_T_DEFINED appropriately) git-svn-id: http://pugixml.googlecode.com/svn/trunk@833 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixml.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pugixml.cpp b/src/pugixml.cpp index eb924a2..38b9b74 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -64,9 +64,10 @@ #if !defined(_MSC_VER) || _MSC_VER >= 1600 # include #else -# if _MSC_VER < 1300 -// No native uintptr_t in MSVC6 +# ifndef _UINTPTR_T_DEFINED +// No native uintptr_t in MSVC6 and in some WinCE versions typedef size_t uintptr_t; +#define _UINTPTR_T_DEFINED # endif typedef unsigned __int8 uint8_t; typedef unsigned __int16 uint16_t; -- cgit v1.2.3