Fix warning in msvc11 (UINT32_MAX is already defined)

This commit is contained in:
David Capello 2013-01-16 21:59:05 -03:00
parent 3ae4889526
commit e0f6b2fed4

View File

@ -27,7 +27,10 @@ namespace {
typedef gfx::details::Region region_type_t;
typedef bool pixman_bool_t;
#ifndef UINT32_MAX
#define UINT32_MAX std::numeric_limits<uint32_t>::max()
#endif
#define PIXMAN_REGION_MAX std::numeric_limits<int>::max()
#define PIXMAN_REGION_MIN std::numeric_limits<int>::min()