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
This commit is contained in:
arseny.kapoulkine@gmail.com 2012-02-19 05:47:54 +00:00
parent 1835571886
commit be7bdafa45

View file

@ -64,9 +64,10 @@
#if !defined(_MSC_VER) || _MSC_VER >= 1600
# include <stdint.h>
#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;