Fix MSVC build
This commit is contained in:
parent
20e2041f14
commit
f67e761970
@ -133,16 +133,16 @@ using std::memmove;
|
|||||||
#if !defined(_MSC_VER) || _MSC_VER >= 1600
|
#if !defined(_MSC_VER) || _MSC_VER >= 1600
|
||||||
# include <stdint.h>
|
# include <stdint.h>
|
||||||
#else
|
#else
|
||||||
|
namespace pugi
|
||||||
|
{
|
||||||
# ifndef _UINTPTR_T_DEFINED
|
# ifndef _UINTPTR_T_DEFINED
|
||||||
// No native uintptr_t in MSVC6 and in some WinCE versions
|
typedef size_t uintptr_t;
|
||||||
typedef size_t uintptr_t;
|
|
||||||
#define _UINTPTR_T_DEFINED
|
|
||||||
# endif
|
# endif
|
||||||
PUGI__NS_BEGIN
|
|
||||||
typedef unsigned __int8 uint8_t;
|
typedef unsigned __int8 uint8_t;
|
||||||
typedef unsigned __int16 uint16_t;
|
typedef unsigned __int16 uint16_t;
|
||||||
typedef unsigned __int32 uint32_t;
|
typedef unsigned __int32 uint32_t;
|
||||||
PUGI__NS_END
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Memory allocation
|
// Memory allocation
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user